AngularJS Question:
Download Job Interview Questions and Answers PDF
What is controller in AngularJS?
Answer:
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.
When a Controller is attached to the DOM with use the ng-controller, Angular will instantiate a new Controller object using constructor function.
Download AngularJS Interview Questions And Answers
PDF
Previous Question | Next Question |
What are the key features of Angular.js? | What are directives? |