Saturday, 29 August 2015

What is Controller in AngularJS?

Controller is constructor function in Angular Controller.
When a Controller is attached to the DOM with use the ng-controller, Angular will instantiate a new Controller object using constructor function.

No comments:

Post a Comment