Created
May 22, 2018 07:26
-
-
Save voratham/3338f4129e0c2e984116bb0cd8b6b264 to your computer and use it in GitHub Desktop.
angular-template.html
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"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Document</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.6.5/angular.js"></script> | |
</head> | |
<body ng-app="myApp" ng-controller="myAppCtrl"> | |
<h1>{{name}}</h1> | |
<script> | |
app.module('myApp' , [] ) | |
.controller('myAppCtrl', function($scope) { | |
$scope.name = "Dream"; | |
}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment