<div ng-app> <label>Name:</label> <input type="text" ng-model="name" placeholder="Enter a name here" /> <hr/> <h1>Hello {{name}}!</h1> </div>