 Angular architecture
 Angular component and Use case of it
 Some hands on
 Best practises
 FOCU
 Conclusion and recap
MVC
Controller
Service
Factory
Directives
Filter
View
Setup the scope
View Interaction
Coordinate View and Model
No DOM manipulationangular.module('myApp')
.controller('AddCarCtrl', ['$scope', function($scope) {
//do some stuff
}]);
Less controller code
No application logic
No DOM manipulation
Handle non-view logic
Communicate with server
Hold data & status
Display the Application
Declare Binding & Detectives
1. Value
2. Constant
3. Factory
4. Service
5. Provider
angular.module('myApp').service('AddCarSvc',function($http,carList) {
//do some stuff
});
DOM manipulation
DOM events
Functionality( ng-show, ng-hide)
Widgets
Link
Controller
Scope
https://github.com/dinushadev/angular-
training.git
Set up dev environment with browser-sync
Flash of unstyled Content
1. ng-cloak
[ng:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}
1. ng-bind
Use ng-bind instead of {{ }}
1. Add spinner
● Two way binding
● Component oriented architecture with drectiview
● Rapid development
● Two way binding - formance issue.
● Rerendering
● With deep object graphs can cause slow app

Angularjs