AngularJs Modules
home
Run
screen_rotation
fullscreen
cloud_download
<!DOCTYPE html> <html lang="en"> <head> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.min.js"></script> </head> <body> <div ng-app="myApp"> <div ng-controller="myController"> Name : <input type="text" ng-model="name" /></br> Name : <input type="text" ng-model="email" /></br> Name : {{ name }} </br> Email : {{ email }} </div> </div> <script> var myApp = angular.module("myApp", []); myApp.controller("myController", function($scope) { $scope.name = "Tani"; $scope.email = "tanib@yopemail.com"; }); </script> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.min.js"></script> </head> <body> <div ng-app="myApp"> <div ng-controller="myController"> Name : <input type="text" ng-model="name" /></br> Name : <input type="text" ng-model="email" /></br> Name : {{ name }} </br> Email : {{ email }} </div> </div> <script> var myApp = angular.module("myApp", []); myApp.controller("myController", function($scope) { $scope.name = "Tani"; $scope.email = "tanib@yopemail.com"; }); </script> </body> </html>
Copyrights@tutorialsplane.com