Skip to content

Commit 80451f6

Browse files
committed
renaming file
1 parent d83d94b commit 80451f6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

examples/angularjs-timer-with-events.html renamed to examples/angularjs-polling-timer.html

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>AngularJS Example - Single Timer Example</title>
4+
<title>AngularJS Example - Polling Timer Example</title>
55
<script src="../angular/angular.min.js"></script>
66
<script src="../app/js/timer.js"></script>
77
<script>
@@ -32,18 +32,19 @@
3232
</head>
3333
<body ng-app="MyApp">
3434
<div>
35-
<h1>AngularJS - Timer With Events Example</h1>
36-
<div ng-init="timerType = 'Polling Server'" ng-controller="PollingController" style="border: 1px darkgray dashed; padding: 15px">
37-
<h2>Example Simulating Polling Server every 5000 milliseconds</h2>
35+
<h1>AngularJS - Polling Timer Example using <code>timer-tick</code> event</h1>
36+
<div ng-init="timerType = 'Polling Server'" ng-controller="PollingController" style="border: 1px darkgray dashed; padding: 15px;margin:15px">
37+
<h2>Polling Server every 5 seconds</h2>
3838
<h3><timer interval="5000"/></h3>
3939
<textarea style="height: 100px;" row=20 cols="200">{{timerConsole}}</textarea>
4040
<br/>
4141
<button ng-click="startTimer('poll-server')" ng-disabled="timerRunning">Start Timer</button>
4242
<button ng-click="stopTimer('poll-server')" ng-disabled="!timerRunning">Stop Timer</button>
4343
</div>
44+
<br/>
4445

4546
<div ng-init="timerType = 'Saving Documents'" ng-controller="PollingController" style="border: 1px darkgray dashed; padding: 15px">
46-
<h2>Example Simulating Saving Document every 3000 milliseconds</h2>
47+
<h2>Saving Document every 3 seconds</h2>
4748
<h3><timer interval="3000"/></h3>
4849
<textarea style="height: 100px;" row=20 cols="200">{{timerConsole}}</textarea>
4950
<br/>

0 commit comments

Comments
 (0)