Skip to content
This repository was archived by the owner on Apr 4, 2025. It is now read-only.

Commit 8918a17

Browse files
author
Erin Altenhof-Long
committed
chore: update example app
1 parent 491a0a7 commit 8918a17

File tree

4 files changed

+20
-35
lines changed

4 files changed

+20
-35
lines changed

example/app.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,22 @@ html, body {
22
position:relative;
33
height:100%;
44
width: 100%;
5+
margin-top: 0px;
6+
margin-left: 0px;
57
}
68

79
body {
810
padding-bottom: 70px;
911
}
12+
13+
/**
14+
* Row Heading
15+
**/
16+
.header {
17+
padding-left: 20px;
18+
background-color:#666;
19+
}
20+
1021
/**
1122
Button
1223
**/

example/app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
angular.module('sampleApp', ['ngRoute']).
22
config(['$routeProvider', function($routeProvider) {
3-
$routeProvider.when('/training', {
3+
$routeProvider.when('/example', {
44
controller: 'SampleAppController',
55
controllerAs: 'sampleAppCtrl',
66
templateUrl: 'sampleApp.html'
77
}).
8-
otherwise({redirectTo: '/training'});
8+
otherwise({redirectTo: '/example'});
99
}]);

example/index.html

Lines changed: 7 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,24 @@
22
<html ng-app="sampleApp">
33
<head>
44
<meta charset="utf-8">
5-
<title>Controller Training Sample</title>
5+
<title>Angular Hint Example</title>
66

77
<script src="../bower_components/angular/angular.js"></script>
88
<script src="../bower_components/angular-route/angular-route.js"></script>
9-
<script src="../hint.js"></script>
9+
<script src="../dist/hint.js"></script>
1010

1111
<script src="app.js"></script>
1212
<script src="app-controller.js"></script>
1313

1414
<link rel="stylesheet" href="app.css">
1515

1616
</head>
17-
<body>
17+
<body ng-hint-include="dom">
1818
<header class="header navbar navbar-inverse docs-navbar-primary">
19-
<div class="container">
20-
<div class="row">
21-
<a class="brand navbar-brand" href="http://angularjs.org">
22-
<img class="logo" src="angularjs-for-header-only.svg">
23-
</a>
24-
<h4 class="text-center title">
25-
<a class="noLink" href="#questions/intro">
26-
My Controller Trainer
27-
</a>
28-
</h4>
29-
</div>
30-
</div>
19+
<a class="brand navbar-brand" href="http://angularjs.org">
20+
<img class="logo" src="angularjs-for-header-only.svg">
21+
</a>
3122
</header>
32-
<div class="container">
33-
<div ng-view></div>
34-
</div>
23+
<div ng-view></div>
3524
</body>
3625
</html>

karma.conf.js

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)