Skip to content

Instantly share code, notes, and snippets.

@victoriachuang
Created September 7, 2016 19:25
Show Gist options
  • Save victoriachuang/6e677a676e9f453449ffeb3f8e744bdd to your computer and use it in GitHub Desktop.
Save victoriachuang/6e677a676e9f453449ffeb3f8e744bdd to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html ng-app>
<head></head>
<body>
<div>
<label>Name:</label>
<input type="text" ng-model="yourName" placeholder="What's your name?"></input>
<h1>Hello {{yourName}}!</h1>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.8/angular.min.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment