Dear All, I am new to Angular JS. I have written following code
Angularjs.html =============== <!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.16/angular.min.js" type="text/javascript"></script> <script src="app.js" type="text/javascript"></script> <script src="maincontroller.js" type="text/javascript"></script> </head> <body> <div id="Content" ng-app='MyTutorialApp' ng-controller='MainController'></div> {{understand}} </body> </html> maincontroller.js ============= app.controller("MainController", function ($scope) { $scope.understand = "I now understand how the scope works!"; }); app.js ======= var app = angular.module('MyTutorialApp', []); Thanks for urgent help, Regards, Jaydeep -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
