Home
Run >
<html> <head> <title>My first AngularJS modules code</title> <Script SRC="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.js"> </Script> <Script> //Defining Controller Using Standard Javascrip Object Constructor function yourController($scope) { $scope.customer = { name: "Jimi Scott", address: "12-13-283/A1", email: "Jimi@yahoo.com" }; } </Script> </head> <body> <div ng-app=""> <div ng-controller="yourController"> <p>Customer Name : {{ customer.name }}</p> <p>Customer Name : {{ customer.address }}</p> <p>Customer Name : {{ customer.email }}</p> </div> </div> </body> </html>