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 539 times)

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 153
  • Karma: 0
    • No Addiction
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
2184 Views
Last post 04-05-2012, 04:10:54
by allricjohnson
0 Replies
883 Views
Last post 06-14-2012, 23:54:16
by wantcammodels
0 Replies
432 Views
Last post 02-03-2016, 03:06:14
by chinmay.sahoo
0 Replies
365 Views
Last post 03-15-2016, 04:01:38
by chinmay.sahoo