-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
28 lines (25 loc) · 1.2 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
<!DOCTYPE html>
<html ng-app="clearInput">
<head>
<meta charset="utf-8" />
<title>Angular Clear Input Directive</title>
<link data-require="bootstrap@*" data-semver="3.2.0" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.css" />
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css">
<script>
document.write('<base href="' + document.location + '" />');
</script>
<link rel="stylesheet" href="css/style.css" />
<script data-require="jquery" data-semver="2.1.1" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script data-require="[email protected]" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.7/angular.js" data-semver="1.3.7"></script>
<script data-require="bootstrap@*" data-semver="3.2.0" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.js"></script>
<script src="js/app.js"></script>
</head>
<body ng-controller="MainCtrl">
<div class="well">
<div class="form-group">
<label>Name:</label>
<input type="text" class="form-control" placeholder="Type text in here" ng-model="name" clear-input>
</div>
</div>
</body>
</html>