<!doctype html> <html ng-app> <head> <title>Hello AngularJS</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.6/angular.js"></script> </head> <body> <input ng-model="yourname" type="text" placeholder="Your name"> <h1>Hello {{ yourname }}</h1> </body> </html> |