AngularJs ng-model
home
Run
screen_rotation
fullscreen
cloud_download
<!DOCTYPE html> <html lang="en"> <head> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script> </head> <body> <div ng-app="" ng-init="a=9;b=10" > <p>Enter value of a <input type='text' ng-model= 'a'></p> <p>Enter value of a <input type='text' ng-model= 'b'></p> <p>Multiplication of aXb = {{a*b}}</p> </div> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.3/angular.min.js"></script> </head> <body> <div ng-app="" ng-init="a=9;b=10" > <p>Enter value of a <input type='text' ng-model= 'a'></p> <p>Enter value of a <input type='text' ng-model= 'b'></p> <p>Multiplication of aXb = {{a*b}}</p> </div> </body> </html>
Copyrights@tutorialsplane.com