Downloaded 10 times



![Controller
Setup the scope
View Interaction
CoordinateView and Model
No DOM manipulationangular.module('myApp')
.controller('AddCarCtrl', ['$scope', function($scope) {
//do some stuff
}]);](https://image.slidesharecdn.com/angularjs-160606174259/75/Angular-js-4-2048.jpg)







![FOUC
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](https://image.slidesharecdn.com/angularjs-160606174259/75/Angular-js-12-2048.jpg)

Angular JS is a framework for building MVC-based applications. It uses components like controllers, services, factories, directives, filters and views. Controllers handle view interaction and coordinate the view and model. Services handle non-view logic and communicate with servers. Directives allow for DOM manipulation and functionality. The document recommends best practices for controllers, services and directives, and describes how to create services and directives. It also covers directives in more detail and discusses preventing FOUC using ng-cloak and ng-bind. The document concludes with recommendations for project structure.