Home
Tutorials
Microsoft Technologies Tutorials
Java Programming Tutorials
Web Designing Tutorials
Script Programming Tutorials
Database Programming Tutorials
Mobile Technologies Tutorials
Other Programming Tutorials
Examples
Articles
Tools
News
AngularJS ng-model Example
Keywords : Angularjs ng-model directive example, Angularjs ng-model to assign values to input controls example, Angularjs get value from ng-model directive example
Example
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title> AngularJs ng-model Directive example </title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> </head> <body> <div ng-app=""> Enter Number1:<input type="text" ng-model="number1" /><br /><br /> Enter Number2:<input type="text" ng-model="number2" /> <p>Result of Multiplication: {{number1 * number2}}</p> </div> </body> </html>
Click Here to See Result
Result
Previous
Next