Skip to content

Instantly share code, notes, and snippets.

@rohan-krishna
Last active April 10, 2016 05:57
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rohan-krishna/ed67e54cd1a1d638c85b to your computer and use it in GitHub Desktop.
Save rohan-krishna/ed67e54cd1a1d638c85b to your computer and use it in GitHub Desktop.
Angular HelloWorld Index.html
<!DOCTYPE html>
<html>
<head>
<title>AngularJS HelloWorld</title>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.3.10/angular.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
</head>
<body ng-app="">
<div class="container">
<p>&nbsp;</p>
<div class="jumbotron">
<h1>Hello!</h1>
<p>My name is <strong>{{ name }}</strong></p>
<p><input ng-model="name" placeholder="Enter Your Name" class="form-control" /></p>
</div>
</div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment