Knowledge Management Banner

Knowledge Management Banner

Basics - Data Binding , ng-app , module , controller

Two way Data Binding

  • Change in model automatically updates view and change in view updates model, Both are cice versa.
ng-app
  • It tells angular that it is angular section and every thing is managed by angular.
What is module in AngularJS ?
  • A module is a container for different parts of your application i.e. controller service directive
  • Module can be said as main method
What is controller in AngularJS ?
  • The angular controller is a javascript function, the job of controller is to manage or create model for view to display.





No comments

Powered by Blogger.