forked from andoulla/Read-More-Directive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (30 loc) · 1.32 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
<!DOCTYPE html>
<html>
<head>
<title>Read more directive</title>
<!--<link href="./bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">-->
<!--<link href="/bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet">-->
<!--<!– HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries –>-->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body ng-app="myApp">
<div ng-controller="AppCtrl" class="container">
<div class="page-header">
<h1> Show 50 words</h1>
<p read-more ng-model="content" words="true" length="50"></p>
<h1> Show 50 characters</h1>
<p read-more ng-model="content" words="false" length="50"></p>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<!--<script src="./bower/jquery/dist/jquery.min.js"></script>-->
<!--<script src="./bower_components/bootstrap/dist/js/bootstrap.min.js"></script>-->
<script src="./bower_components/angular/angular.js"></script>
<script src="./js/controller.js"></script>
<script src="./js/directives/readmore.js"></script>
</body>
</html>