If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...

 

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

Started by chinmay.sahoo, 02-03-2016, 05:08:44

Previous topic - Next topic

chinmay.sahooTopic starter

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.



If you like SEOmastering Forum, you can support it by - BTC: bc1qppjcl3c2cyjazy6lepmrv3fh6ke9mxs7zpfky0 , TRC20 and more...