I am looking to integrate a lockscreen feature into my app using Angular.js. This lockscreen will consist of a route and an HTML template containing a form that prompts the user to re-enter their password in order to keep their session active.
The purpose of this lockscreen is to prevent unauthorized access if a user leaves their computer or session unattended for an extended period of time.
My goal now is to have Angular execute this action after a specified amount of time of user inactivity. Any suggestions on how to achieve this?
Edit:
Please note that I am not interested in a jQuery solution that reloads the page after a certain period of inactivity, as this would disrupt the user's workflow.