-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
28 lines (20 loc) · 759 Bytes
/
index.html
File metadata and controls
28 lines (20 loc) · 759 Bytes
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
<!DOCTYPE html>
<html>
<head>
<title>Angular + Smartystreets</title>
<link rel="stylesheet" type="text/css" href="liveaddress.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.20/angular.min.js"></script>
<script type="text/javascript" src="liveaddress.js"></script>
</head>
<body>
<div ng-app="liveaddress" class="main">
<h1>Angular + SmartyStreets</h1>
<h2>Step 1: Enter a token</h2>
<input type="text" ng-model="token" placeholder="SmartyStreets html token" class="inputbox"/>
<h2>Step 2: Search for things</h2>
<div liveaddress token="token" ng-model="address" input-class="{inputbox:true}"></div>
<h2>Step 3: Get results</h2>
<pre>{{ address|json }}</pre>
</div>
</body>
</html>