-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
24 lines (23 loc) · 940 Bytes
/
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
<!doctype html>
<head>
<title>Using Browserify with Angular 1.3</title>
<link rel="stylesheet" href="./node_modules/angular-material/angular-material.css">
<link rel="stylesheet" href="bundle.css">
</head>
<body>
<script src="bundle.js"></script>
<div ng-app="autocompleteDemo" ng-controller="DemoCtrl as ctrl" layout="column">
<md-content class="md-padding" layout="column">
<md-autocomplete
md-selected-item="ctrl.selectedItem"
md-search-text="ctrl.searchText"
md-items="item in ctrl.querySearch(ctrl.searchText)"
md-item-text="item.display"
placeholder="What is your favorite US state?">
<span md-highlight-text="ctrl.searchText">{{item.display}}</span>
</md-autocomplete>
<p class="md-padding">Demo borrowed from the <a href="https://material.angularjs.org/#/demo/material.components.autocomplete">Angular Material Design</a> site.</p>
</md-content>
</div>
</body>
</html>