forked from ArtemGnatenko/JavaScript-Lectures
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
23 lines (23 loc) · 879 Bytes
/
index.html
File metadata and controls
23 lines (23 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html>
<head>
<title>Base template</title>
<link type="text/css" rel="stylesheet" media="all" href="css/main.css" />
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script src="https://cdn.jsdelivr.net/lodash/4.17.4/lodash.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.3/angular.min.js"></script>
<script src="js/main.js" defer></script>
</head>
<body ng-app="app"><!-- root scope -->
<!-- This is base template for testing -->
<div ng-controller="myCtrl as myCtrl">
<h1 class="mainTitle"">
<img class="logo" src="images/logo.png" alt=""/>
<span class="text">{{myCtrl.serverData.myKey1}}</span>
</h1>
<h1>{{myCtrl.serverData.myKey2 | price}}</h1>
<button type="button" ng-click="myCtrl.askUser()">Asc user</button>
<p>{{myCtrl.userAction}}</p>
</div>
</body>
</html>