-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
41 lines (40 loc) · 1.48 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
<!DOCTYPE html>
<html>
<head>
<link href="angular-float-labels.css" rel="stylesheet">
<link href="angular-float-labels.bs3.css" rel="stylesheet">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css">
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/angular/angular.js"></script>
<!-- <script src="angular-float-labels.js"></script> -->
<script src="angular-float-labels.custom.js"></script>
<script>
angular.module('myApp', ['angular-float-labels'])
.config(function(floatLabelProvider) {
floatLabelProvider.setAttributeName('floatLabel');
})
.controller('myCtrl', function($scope) {
});
</script>
</head>
<body ng-app="myApp">
<div ng-controller="myCtrl">
<h3>Text</h3>
<div class="group">
<input type="text" placeholder="Enter some text" float-label="Enter some text!" class="form-control"/>
</div>
<h3>Email</h3>
<div class="group">
<input type="email" placeholder="Enter your email" float-label="Enter your email please!" class="form-control"/>
</div>
<h3>Number</h3>
<div class="group">
<input type="number" placeholder="Enter your favorite number of all time" float-label="Favorite number!" class="form-control"/>
</div>
<h3>Url</h3>
<div class="group">
<input type="url" placeholder="Enter your homepage" float-label="WHATS UR URL?!" class="form-control"/>
</div>
</div>
</body>
</html>