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

Offline chinmay.sahooTopic starter

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 2
  • Posts: 158
  • Karma: 0
    • We Helpline
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
5 Replies
8752 Views
Last post 10-06-2022, 05:31:19
by f1dark
0 Replies
1864 Views
Last post 06-14-2012, 23:54:16
by wantcammodels
0 Replies
1209 Views
Last post 02-03-2016, 03:06:14
by chinmay.sahoo
2 Replies
1799 Views
Last post 09-21-2022, 04:26:37
by dark404