<!doctype html> <html ng-app> <head> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular.min.js"></script> <script type="text/javascript"> var m1 =angular.module("AppModule",[]); m1.controller("c1", f1); function f1($scople){ $scope.message ="raj kumar"; } </script> </head> <body ng-controller="c1"> {{message}} </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more