Skip to content

Instantly share code, notes, and snippets.

@javaeeeee
Created December 24, 2016 15:46
Show Gist options
  • Select an option

  • Save javaeeeee/b672356704b3f53d9fe245bde1f5694c to your computer and use it in GitHub Desktop.

Select an option

Save javaeeeee/b672356704b3f53d9fe245bde1f5694c to your computer and use it in GitHub Desktop.
index.html file for local development
<!DOCTYPE html>
<html lang="en">
<head>
<title>Hello World AngularJS application</title>
</head>
<body ng-app='app'>
<h1>Hello World AngularJS application</h1>
<section ng-controller="HelloController">
<h4>AngularJS Greeting</h4>
<label for="name">Type your name here:</label>
<input id=name type="text" ng-model="myModel">
<p>Hello {{myModel}}!</p>
</section>
</body>
<script src="node_modules/angular/angular.min.js"></script>
<script src="app/app.module.js"></script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment