Angular is a TypeScript-based open-source front-end web application platform led by the Angular Team at Google and by a community of individuals and corporations. Angular is a complete rewrite from the same team that built AngularJS
Syllabus
Page 1
Falling In Love With AngularJS
The Power Features of AngularJS
Download and Installation
Installing via CDN
Hosting on Your Server
Required Tools
AngularJS Batarang
The Angular Seed Project
The Anatomy of an AngularJS app
What is MVW?
Structuring Our Code With MVC
Unit and End-to-End Testing in AngularJS
Where to Put Your Tests
How to Run Tests
When Not To Use AngularJS
Modules, Controllers & Data Binding
Creating Our First Module
Modular Programming Best Practices
Controllers.
The Role of a Controller
Attaching Properties and Functions to Scope
Adding Logic to the Controller
Adding Instance Functions and Properties to Controllers
Dependency Injection in Controllers With Minification
Overview of Two-Way Data Binding
What Is Data Binding?
Two-Way Binding in AngularJS.
Doing Something Cool.
Introducing Our Demo Application
The Single Page Blogger
Getting Ready
AngularJS Scope & Events
Scope Demystified
Writing Access with Prototypes
Objects Can Extend Objects
Prototypal Inheritance in AngularJS Scopes
Advanced Scope Concepts
The Watchers in AngularJS
The $watchCollection()Function
The $apply()Function and the $digestLoop.
$applyand $digestin Action
Broadcasting & Emitting Events
$scope.$emit(name,args)For Emitting Events
$scope.$broadcast(name,args)For Broadcasting Events
$scope.$on(name,handlerFunction)For Registering Listeners
Events in Action
The $destroyevent
Page 2
Multiple Views and Routing
Creating Multiple Views
Using $routeParamsin the Controller
Using ng-template
The resolveProperty in the Route Config Object
Exploring the $locationService - The API
Events in Routing
$location related events
$route related events
The ng-include Directive
Introducing the Angular UI Router
Getting Started With UI Routter
Defining States
AngularJS Services, Factories, and Providers
Eager Loading of a Service
Factory.
Provider.
Value
Constant
Using Decorators
Developing Single Page Blogger
Developing Our App
Defining Routes
Creating Our Service
Creating the Controller
Creating the Templates
App Entry Point (index.html)
How About Some Unit Tests?
Unit Testing postService
Unit Testing Controllers
Writing an End-to-End (e2e) Test
Understanding AngularJS Forms
AngularJS Forms
input and textarea controls.
select control
Radio Button Control
Checkbox Control
AngularJS Form Validation
Applying Validation
Updating Models With a Twist
Forms in Action : Single Page Blogger v1.1
Creating the adminModule
Defining States
Creating Controllers
Admin Panel Template
Template For Adding a New Post
Page 3
Interacting with REST APIs
A Primer on Promises
The Promise API
Example Usage
Promise Chaining
Creating a Promise that Always Rejects
Understanding the $httpService
The configObject
A Weather Search Service
Setting Request Headers
Request and Response Transformers
Caching
Interceptors
Understanding AngularJS $resource
Prerequisites
How Does $resource Work?
Using REST APIs in Single Page Blogger
Applying $resourceto Our App
Defining Templates
Including angular-resource.jsand Adding the ngResource Module
Unit Testing Our Controllers
AngularJS Directives
What Are Directives, Really?
Directives From the jQuery Perspective
Creating Custom Directives
The Link Function
The Compile Function
Compilation of Directives
Changing a Directive’s Scoped
Binding Between Parent Scope and Isolated Scope Models
Using @For One-Way Binding
Using =For Two-Way Binding
Using &to Execute Functions in the P arent Scope
Parent Scope vs. Child Scope vs. Isolated Scope
Transclusion
Differences Between transclude:'element'and transclude:true
The Controller Function and Require
Cleaning Up Your Directive
IE 8 Precautions
Page 4
Adding a Comment System to Single Page Blogger
Unit Testing Our Directive
Dependency Injection In AngularJS
A Brief Recap
The $provideService
The $injectorService
Dynamically Injecting a Dependency
Registration of Controllers, Filters, and Directives
AngularJS Filters
Filter Basics
Fun with Custom Filters
Chaining Multiple Filters
Using Filters in Controllers, Services, and Directives
Meet a Filter Called filter
Meet the orderByFilter
Meet the limitToFilter Using the $filterService
Using Filters in Single P age Blogger
Permalink Filter
Wordcount Filter
Deployment and Internationalization
Deployment
Internationalization
Authentication and Authorization in AngularJS
Adding Login Functionality
Authorization
Where To Go Next?
Things to Do Now
Where To Go Next?
Things to Do Now
Where To Go Next?
Improving Our Demo App
Where To Go Next?
Host it Yourself : Back-end
0 comments:
Post a Comment