AngularJS Tutorial – Learn AngularJS in 30 minutes | RevillWeb
we are just going to declare this page as an AngularJS app, and its really simple!
Simply add ng-app=”MyTutorialApp” to the content DIV as follows:
we need to declare which controller to use, as follows:
div id='content' ng-app='MyTutorialApp' ng-controller='MainController'
Read full article from AngularJS Tutorial – Learn AngularJS in 30 minutes | RevillWeb
we are just going to declare this page as an AngularJS app, and its really simple!
Simply add ng-app=”MyTutorialApp” to the content DIV as follows:
we need to declare which controller to use, as follows:
div id='content' ng-app='MyTutorialApp' ng-controller='MainController'
Read full article from AngularJS Tutorial – Learn AngularJS in 30 minutes | RevillWeb
This comment has been removed by the author.
ReplyDelete