Questions tagged [ng-idle]

an angularjs module to timed out the application when the screen is idle.

An angularjs module to timed out the application when the screen is idle as per the parametrised settings, by using the IdleProvider and KeepAliveProvider.

Can see the demo in the link

61 questions
0
votes
1 answer

How to include mouse over events in Ng-Idle module

We are using Angularjs 1.5 and Ng-Idle module to capture the user inactivity time for certain interval in our application. We show alert window if the timeout reaches for the user to refresh the user session based on Idle start and Idle end. This…
Muthu
  • 43
  • 1
  • 2
  • 10
0
votes
1 answer

failing to display bootstrap UI Modal

In my AngularJS application I am using the ngIdle module and following the demo that the author has shared on his Github https://hackedbychinese.github.io/ng-idle/. I have all the right dependencies injected, and all the right CDNs loaded, and the…
0
votes
1 answer

How to change title using ng-idle title directive

I'm trying to change the page title using ng-idle: My title: MySite Local The code that doesn't seem to be working: app.run(function (Title) { Title.idleMessage('You are idle'); }); Taken from…
RandomUs1r
  • 4,010
  • 1
  • 24
  • 44
0
votes
1 answer

Angular2 - trouble using ng2-idle EventTargetInterruptSource in component to create multiple instances

I have an Angular2 project that has 2 instances of a component (DisplayAreaComponent) on the screen. I would like each DisplayAreaComponent instance to have its own Idle instance (which is allowed according to the README), so I am injecting Idle in…
0
votes
1 answer

ng-Idle KeepaliveProvider.http .success is not a function

I’m using ng-Idle and getting an error when I populate KeepaliveProvider.http(…). For the most part I am using the code taken straight from the example given here http://hackedbychinese.github.io/ng-idle/ Here is my controller: function…
0
votes
1 answer

angular ng-idle not working, unknown provider

in my index.html, I include the file as and in app.js angular.module('app', [ uirouter, routing, angularResource, localStorage, …
Benjamin Li
  • 1,687
  • 7
  • 19
  • 30
0
votes
2 answers

reset ng-idle after authorization

ng-idle on my application works fine. But after timeout , I have a pop up that asks for user credentials again. So what is the way to reset ng-idle and start watching again after popup authentication?
0
votes
1 answer

Why isn't this ng-idle implementation connecting modal and styling?

I am trying to get ng-idle to hook up to css and modal the way it looks in this working example at this link. I have interpreted the code at the link to mean that I should type the code below to implement it, but the code below does not hook the…
CodeMed
  • 9,527
  • 70
  • 212
  • 364
0
votes
1 answer

Better way of implementing config for a custom directive (ngIdle)?

For those of you unfamiliar, ngIdle can be found here. It's basically a way to make an idle timeout like many banks have on their websites using angular. It works great, however the way that I am currently using it is by placing some of the config…
Ajv2324
  • 422
  • 8
  • 24
0
votes
1 answer

Problems using custom directive ng-idle in angularJS

It appears that the only way to allow for an idle timeout kind of deal in angularJS is to use this custom directive made by HackedByChinese called ng-idle. The problem that I have with using this directive is that when I go to sign the user out…
Ajv2324
  • 422
  • 8
  • 24
0
votes
1 answer

How to automatically throw up a message when "Angular" {{variable}} disappears after Session DIES

I have an Angular app, the problem is, that when the {{controllername.name}} disappears for displaying the username, after session timeout, even though the warning for ngIdle comes up, the user can still refresh the screen and it keeps you on the…
Peter The Angular Dude
  • 1,112
  • 5
  • 26
  • 53
0
votes
0 answers

Per module provider configuration

Is it possible to configure providers with different values per module? I am using ng-idle and would like to configure timeout for each module differently. angular.module('module1').config(function($idleProvider){ …
terafor
  • 1,620
  • 21
  • 28
0
votes
1 answer

Karma/Jasmine testcases failing due to ngIdle module

Error: [$injector:modulerr] Failed to instantiate module ngIdle due to: Error: [$injector:nomod] Module 'ngIdle' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the…
yoshi
  • 1
  • 1
-1
votes
1 answer

remove mousemove etc events from Ng-Idle

I'm using Ng-Idle library for keeping check of user inactivity in a angular webapp. I'm implemented library this much far idle.setIdle(5); idle.setTimeout(0); idle.setInterrupts(DEFAULT_INTERRUPTSOURCES); idle.onIdleEnd.subscribe(() => { …
viveksinghal
  • 21
  • 1
  • 3
-1
votes
1 answer

ng idle keepalive detect activity

I use angular ng-idle, (core and keepalive) and I want to detect when user is active. I search but cannot find any documentation that tell me when each ng-idle event occurs. I can see examples of how to catch user inactivity, But I want to catch the…
banana
  • 1,186
  • 4
  • 14
  • 26