Skip to content

Instantly share code, notes, and snippets.

@billyriantono
Created August 27, 2014 10:14
Show Gist options
  • Save billyriantono/d9cbd57a7c8ef2b1f96f to your computer and use it in GitHub Desktop.
Save billyriantono/d9cbd57a7c8ef2b1f96f to your computer and use it in GitHub Desktop.
My First on Learning AngularJS
<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>
'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