You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the latest version of ng2-Idle, I am not able to get it to work with the full release of Angular 2. I keep getting errors around No Provider for KeepAliveSrv.
To reproduce (using angular-cli):
ng new idleTest
npm install --save ng2-idle
There is no module exposed to add to app.module.ts, so I have to resort to adding IDLE_PROVIDERS to the providers section.
The text was updated successfully, but these errors were encountered:
Hi I'm running the angular 2 (~2.0.1) version and the ng2-idle (1.0.0-alpha.16) with webpack, I've applied the workaround refer to @iherbivore answer on (#22), however in my case I just added to providers SimpleExpiry and the PalIdle class, like so:
This commit adds support for NgModule and replaces the old ng2-idle/core approach. Use
Ng2IdleModule.forRoot() in your app module imports to use the new module.
Fixes#3, #10, #22, #23, #24
Using the latest version of ng2-Idle, I am not able to get it to work with the full release of Angular 2. I keep getting errors around No Provider for KeepAliveSrv.
To reproduce (using angular-cli):
ng new idleTest
npm install --save ng2-idle
There is no module exposed to add to app.module.ts, so I have to resort to adding IDLE_PROVIDERS to the providers section.
The text was updated successfully, but these errors were encountered: