File tree Expand file tree Collapse file tree 4 files changed +5
-22
lines changed Expand file tree Collapse file tree 4 files changed +5
-22
lines changed Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > AngularJS Example - Multiple Timers</ title >
5
- < style type ="text/css ">
6
- div {
7
- border : 1px solid gainsboro;
8
- text-align : center;
9
- margin : 15px ;
10
- padding : 15px ;
11
- }
12
- </ style >
4
+ < title > AngularJS Example - Multiple Timers Example</ title >
13
5
< script src ="../angular/angular.min.js "> </ script >
14
6
< script src ="../app/js/timer.js "> </ script >
15
7
< script >
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > AngularJS Example - Single Timer</ title >
5
- < style type ="text/css ">
6
- div {
7
- border : 1px solid gainsboro;
8
- text-align : center;
9
- margin : 15px ;
10
- padding : 15px ;
11
- }
12
- </ style >
4
+ < title > AngularJS Example - Single Timer Example</ title >
13
5
< script src ="../angular/angular.min.js "> </ script >
14
6
< script src ="../app/js/timer.js "> </ script >
15
7
< script >
16
8
angular . module ( 'MyApp' , [ 'timer' ] ) ;
17
-
18
9
function MyAppController ( $scope ) {
19
10
$scope . timerRunning = true ;
20
11
33
24
</ head >
34
25
< body ng-app ="MyApp ">
35
26
< div ng-controller ="MyAppController ">
36
- < h2 > AngularJS - Single Timer Example</ h2 >
27
+ < h1 > AngularJS - Single Timer Example</ h1 >
37
28
< h3 > < timer /> </ h3 >
38
29
< button ng-click ="startTimer() " ng-disabled ="timerRunning "> Start Timer</ button >
39
30
< button ng-click ="stopTimer() " ng-disabled ="!timerRunning "> Stop Timer</ button >
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > AngularJS Example - Single Timer</ title >
4
+ < title > JQuery Timer Example </ title >
5
5
< style type ="text/css ">
6
6
div {
7
7
border : 1px solid gainsboro;
Original file line number Diff line number Diff line change 1
1
<!DOCTYPE html>
2
2
< html >
3
3
< head >
4
- < title > AngularJS Example - Single Timer</ title >
4
+ < title > Plain Javascript Timer Example </ title >
5
5
< style type ="text/css ">
6
6
div {
7
7
border : 1px solid gainsboro;
You can’t perform that action at this time.
0 commit comments