Total Pageviews

17 February 2016

How to integrates AngularJS with HTML

How AngularJS integrates with HTML

·        ng-app directive indicates the start of AngularJS application.
·        ng-model directive then creates a model variable named "name" which can be used with the html page and within the div having ng-app directive.
·        ng-bind then uses the name model to be displayed in the html span tag whenever user input something in the text box.
·        Closing</div> tag indicates the end of AngularJS application.



No comments:

Post a Comment

Contact Form

Name

Email *

Message *