Edit in JSFiddle
Result
HTML
<div ng-app> <h1>Hello {{name}}!</h1> <input type="text" ng-model="name"> </div>