-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathinheritance.html
More file actions
37 lines (37 loc) · 1.07 KB
/
inheritance.html
File metadata and controls
37 lines (37 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!--
LiftOff AngularJS Tutorial
(c) 2013-2014 LiftOff LLC. http://www.liftoffllc.com
License: MIT
-->
<html>
<head>
<title>AngularJS - Inheritance</title>
<link rel="stylesheet" href="./styles/default.css">
</head>
<body ng-app="inheritanceApp">
<div class="hero-unit">
Let's look at Inheritance
</div>
<div class="row-fluid" style="margin-left: 60px">
<div class="span4" style="margin-left: 60px" ng-controller="LogCtrl">
We are printing the current time
</br>
</br>
{{getCurrentTime()}}
</div>
<div ng-controller="BaseCtrl" class="span4">
<div ng-controller="UserCtrl">
We are printing the current time
</br>
</br>
<span class="alert alert-info">
{{getCurrentTime()}}
</span>
</div>
</div>
</div>
<script src="./js/jquery.js" type="text/javascript"></script>
<script src="./js/angular.min.js" type="text/javascript"></script>
<script src="./js/inheritance.js" type="text/javascript"></script>
</body>
</html>