-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
40 lines (31 loc) · 950 Bytes
/
index.php
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
38
39
40
<!DOCTYPE html>
<html ng-app="store">
<head>
<title>Angular Js Making It</title>
<script src="angular.min.js"></script>
<script src="angular-route.min.js"></script>
<script src="app.js"></script>
<link rel="stylesheet" href="bootstrap-theme.min.css">
<link rel="stylesheet" href="bootstrap.min.css">
</head>
<body ng-controller='StoreController as store'>
<a href="javascript:" onclick="window.open('https://www.google.co.in');" target="_blank">Sample Code</a>
<ul>
<li>
<a href="#">Home</a>
<a href="#about">About</a>
<a href="#contact">Contact</a>
</li>
</ul>
Search: <input ng-model="query">
<select ng-model="prop">
<option value="name">Alphabetical</option>
<option value="age">Newest</option>
</select>
<div ng-view></div>
<li ng-repeat="phone in phones | filter:query | orderBy: prop">
<h3><img ng-src="{{phone.imageUrl}}" style="width:80px">{{phone.id}}</h3>
</li>
{{query}}
</body>
</html>