AngularJS Forms

<!DOCTYPE html> <html lang=”en”> <script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js”></script> <body> <div ng-app=”myApp” ng-controller=”formCtrl”> <form novalidate> First Name:<br> <input type=”text” ng-model=”user.firstName”><br> Last Name:<br> <input

Read more

AngularJS Expressions

<!DOCTYPE html> <html> <script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js”></script> <body> <div ng-app=”” ng-init=”firstName=’John’”> <p>The name is <span ng-bind=”firstName”></span></p> </div> </body> </html> It’s only fair

Read more

AngularJS Example

<!DOCTYPE html> <html lang=”en-US”> <script src=”https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js”></script> <body> <div ng-app=””> <p>Name : <input type=”text” ng-model=”name”></p> <h1>Hello {{name}}</h1> </div> </body> </html> AngularJS

Read more