What is the role of ng-app, ng-init and ng-model directives?

Author Topic: What is the role of ng-app, ng-init and ng-model directives?  (Read 676 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 159
  • Karma: 0
    • Hot Shaper
The main role of these directives is explained as:

 
  • ng-app - Initialize the angular app.
     ng-init - Initialize the angular app data.
     ng-model - Bind the html elements like input, select, text area to angular app model.


 

Related Topics

  Subject / Started by Replies Last post
1 Replies
2494 Views
Last post 04-05-2012, 04:10:54
by allricjohnson
0 Replies
1042 Views
Last post 06-14-2012, 23:54:16
by wantcammodels
0 Replies
537 Views
Last post 02-03-2016, 03:06:14
by chinmay.sahoo
0 Replies
493 Views
Last post 03-15-2016, 04:01:38
by chinmay.sahoo