Last active
December 18, 2015 22:59
-
-
Save amitavroy/5857966 to your computer and use it in GitHub Desktop.
This is my default html file as a starting point
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html lang="en" ng-app="anim"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Test page</title> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.0.2/jquery.min.js"></script> | |
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.5/angular.min.js"></script> | |
<script> | |
var anim = angular.module('anim', []); | |
anim.controller('MainCtrl', ['$scope', function ($scope) { | |
$scope.name = "Amitav"; | |
}]); | |
</script> | |
</head> | |
<body> | |
<div id="wrapper" class="container" ng-controller="MainCtrl"> | |
<p>Welcome {{name}}</p> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment