forked from shoshi/angular-breadcrumbs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (54 loc) · 1.97 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ng-breadcrumbs</title>
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" />
<style>
.ab-nav.breadcrumb {
margin-bottom: 30px;
}
.margin-right-xs {
margin-right: 5px;
}
</style>
<script src="public/js/requirejs-config.js" type="application/javascript"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js" data-main="public/js/main.js"></script>
</head>
<body ng-controller="HomeController">
<a href="https://github.com/ianwalter/ng-breadcrumbs">
<img style="position: absolute; top: 0; right: 0; border: 0;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub">
</a>
<br>
<div class="container">
<div class="row">
<div class="col-xs-12">
<header>
<h1>ng-breadcrumbs</h1>
<h4>A better AngularJS service to help with breadcrumb-style navigation between views</h4>
</header>
<br>
<ol class="ab-nav breadcrumb">
<li ng-repeat="breadcrumb in breadcrumbs.get() track by breadcrumb.path" ng-class="{ active: $last }">
<a ng-if="!$last" ng-href="#{{ breadcrumb.path }}" ng-bind="breadcrumb.label" class="margin-right-xs"></a>
<span ng-if="$last" ng-bind="breadcrumb.label"></span>
</li>
</ol>
<div ng-view ng-cloak></div>
</div>
</div>
<br>
<p>
I hope you find this useful!<br>
«–– <a href="http://ianvonwalter.com">Ian</a>
</p>
<br>
</div>
</body>
</html>