This repository was archived by the owner on Apr 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +20
-35
lines changed Expand file tree Collapse file tree 4 files changed +20
-35
lines changed Original file line number Diff line number Diff line change @@ -2,11 +2,22 @@ html, body {
2
2
position : relative;
3
3
height : 100% ;
4
4
width : 100% ;
5
+ margin-top : 0px ;
6
+ margin-left : 0px ;
5
7
}
6
8
7
9
body {
8
10
padding-bottom : 70px ;
9
11
}
12
+
13
+ /**
14
+ * Row Heading
15
+ **/
16
+ .header {
17
+ padding-left : 20px ;
18
+ background-color : # 666 ;
19
+ }
20
+
10
21
/**
11
22
Button
12
23
**/
Original file line number Diff line number Diff line change 1
1
angular . module ( 'sampleApp' , [ 'ngRoute' ] ) .
2
2
config ( [ '$routeProvider' , function ( $routeProvider ) {
3
- $routeProvider . when ( '/training ' , {
3
+ $routeProvider . when ( '/example ' , {
4
4
controller : 'SampleAppController' ,
5
5
controllerAs : 'sampleAppCtrl' ,
6
6
templateUrl : 'sampleApp.html'
7
7
} ) .
8
- otherwise ( { redirectTo : '/training ' } ) ;
8
+ otherwise ( { redirectTo : '/example ' } ) ;
9
9
} ] ) ;
Original file line number Diff line number Diff line change 2
2
< html ng-app ="sampleApp ">
3
3
< head >
4
4
< meta charset ="utf-8 ">
5
- < title > Controller Training Sample </ title >
5
+ < title > Angular Hint Example </ title >
6
6
7
7
< script src ="../bower_components/angular/angular.js "> </ script >
8
8
< script src ="../bower_components/angular-route/angular-route.js "> </ script >
9
- < script src ="../hint.js "> </ script >
9
+ < script src ="../dist/ hint.js "> </ script >
10
10
11
11
< script src ="app.js "> </ script >
12
12
< script src ="app-controller.js "> </ script >
13
13
14
14
< link rel ="stylesheet " href ="app.css ">
15
15
16
16
</ head >
17
- < body >
17
+ < body ng-hint-include =" dom " >
18
18
< 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 >
31
22
</ header >
32
- < div class ="container ">
33
- < div ng-view > </ div >
34
- </ div >
23
+ < div ng-view > </ div >
35
24
</ body >
36
25
</ html >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments