forked from JustGoscha/allmighty-autocomplete
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
45 lines (33 loc) · 1.36 KB
/
index.html
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
41
42
43
44
45
<html ng-app="app">
<head>
<title>Autocomplete Demo</title>
<link rel="stylesheet" href="style/style.css">
<link rel="stylesheet" href="style/autocomplete.css">
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.12/angular.min.js"></script>
</head>
<body>
<header>
<h1><span class="thin">AngularJS:</span> Allmighty-Autocomplete Demo</h1>
</header>
<div ng-controller="MyCtrl">
<div class="main">
<h2>Search for new released movies:</h2>
<autocomplete ng-model="result" attr-placeholder="type to search movies..." click-activation="true"
data="movies" on-type="doSomething" on-select="doSomethingElse"></autocomplete>
<br>
<div class="description">
This is a simple autocomplete directive for AngularJS, packaged in a Angular module. You can check out the
source code or download it here:
<br><br>
<a href="https://github.com/JustGoscha/allmighty-autocomplete">Allmigty-Autocomplete on GitHub</a>
</div>
</div>
</div>
<footer>
made by <a href="http://github.com/justgoscha">justGoscha</a>
</footer>
<script src="bower_components/angular-filter/dist/angular-filter.js"></script>
<script type="text/javascript" src="script/autocomplete.js"></script>
<script type="text/javascript" src="script/app.js"></script>
</body>
</html>