Questions tagged [angular-timer]

Angular Timer is a library for creating built-in timers in AngularJS

Directives in AngularJS is a powerful way of building reusable UI components. This simple project will serve as a sample/reference implementation demonstrating its flexibilities by making it inter-operable across runtime (AngularJS, plain simple JavaScript & jQuery). Documentation.

24 questions
0
votes
0 answers

Duration tracking in AngularJS

Im trying to handle durationc calculation in my AngularJS app. If User logged In then it should show timer counting time in Hr and Mins. for example. User logged in since 15 minutes passed then UI should show LoggedIn time: 0hr 15m. I tried to user…
Zaid Mirza
  • 3,540
  • 2
  • 24
  • 40
0
votes
1 answer

How to start and reset angular timer from controller?

I want to start timer when user click on recordLogs method and reset timer when user click on stopLogs method. According to angular-timer documentation we can use timer-stop and timer-clear method to achieve these task but i am getting error start…
hussain
  • 6,587
  • 18
  • 79
  • 152
0
votes
1 answer

trying to use angular-timer, am getting this error "TypeError: moment.locale is not a function"

I have been trying to use the angular-timer, in my angularjs app, but I keep getting this error "TypeError: moment.locale is not a function". I added my scripts like so. please can someone help me out?
0
votes
2 answers

Timer in Angular with conditions

I am using angular-timer plug-in for my project where i show projects with task and duration i want to run only one timer at a time and on click other start button all will be disable , please give me any idea to do this , how can i find all the…
Anil Yadav
  • 1,086
  • 7
  • 18
0
votes
1 answer

How to write global event(touch/click) handler in angular application?

If angular application is not touched(mobile browser) or clicked for particular seconds, it should through a alert. Can anyone help on this?
Ranjith
  • 125
  • 1
  • 7
0
votes
1 answer

Ionic App crashes when focus lost

Im not sure if anyone else has experienced this, but the App I am building crashes on Android when it loses focus. Its a basic time recording App using angular-timer. I have handled it so when the app loads it checks to see if a timer was in…
SM3RKY
  • 1,548
  • 1
  • 14
  • 27
0
votes
1 answer

Timer In AngularJS

Why is my timer tag not working in Angularjs? I used the following code {{countdown}} Also, how to alert the timer minutes and seconds while I click the get time button given in the plunker? Here is…
Ramana Uday
  • 355
  • 2
  • 6
  • 21
0
votes
1 answer

Using multiple Angular JS directives in same $scope but listening for a specific event from a particular element

Hi I am using this angular countdown plugin http://siddii.github.io/angular-timer/ and I need to use the directive multiple times within the same scope. The plugin broadcasts a 'timer-tick' event which I want to listen for but only from a specific …
Jamesed
  • 122
  • 5
0
votes
0 answers

Angular Timer - timer not stopping

I've implemented the Angular Timer directive (http://siddii.github.io/angular-timer/) in my application which is intended to track time spent across projects. The timer works as it should except for when I stop and restart the timer. Visibly, the…
Kirk P.
  • 23
  • 6
1
2