Created
August 27, 2014 10:14
-
-
Save billyriantono/d9cbd57a7c8ef2b1f96f to your computer and use it in GitHub Desktop.
My First on Learning AngularJS
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
<html ng-app='app'> | |
<head> | |
<title>Hello World Angular</title> | |
<script src="yourjavascriptfolder/angular.min.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<h1>{{hello}}</h1> | |
</body> | |
</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
'use strict' | |
angular.module('app') | |
.controller('HelloWorldCtrl',function(){ | |
$scope.hello = "Hello World !!!"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment