Skip to content

Instantly share code, notes, and snippets.

@sawo
Created January 27, 2017 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sawo/667bbbd2f52f9e499196f3108097faf8 to your computer and use it in GitHub Desktop.
Save sawo/667bbbd2f52f9e499196f3108097faf8 to your computer and use it in GitHub Desktop.
Angular 1 hello world application
<!doctype html>
<html ng-app>
<head>
<title>My Angular App</title>
<script src=“https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js”></script>
</head>
<body>
<h1 id=“title”>Hello {{name}}!</h1>
<input type=“text” placeholder=“What is your name?” data-ng-model=“name” />
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment