blob: 566c6dd5c4691b95fa0fe06d33d70fbda87ba4c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<!DOCTYPE html>
<html ng-app="notesApp">
<head>
<title>Hello AngularJS</title>
<script src="../../tp/angular.js"></script>
</head>
<body ng-controller="MainCtrl">
Hello {{1 + 1}}nd time AngularJS
<script type="text/javascript">
angular.module('notesApp', [])
.controller('MainCtrl', [function () {
// controller specific code here
console.log('MainCtrl has been created');
}]);
</script>
</body>
</html>
|