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 724 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
2 Replies
2699 Views
Last post 09-27-2017, 00:46:38
by damponting44
0 Replies
1094 Views
Last post 06-14-2012, 23:54:16
by wantcammodels
0 Replies
576 Views
Last post 02-03-2016, 03:06:14
by chinmay.sahoo
0 Replies
566 Views
Last post 03-15-2016, 04:01:38
by chinmay.sahoo