-
Notifications
You must be signed in to change notification settings - Fork 232
/
index.html
40 lines (30 loc) · 1.22 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
<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 type="text/javascript" src="script/autocomplete.js"></script>
<script type="text/javascript" src="script/app.js"></script>
</body>
</html>