Is it possible to determine if a user is inactive and automatically log them out after say 10 minutes of inactivity using angularjs?
I was trying to avoid using jQue
View Demo which is using angularjs and see your's browser log
angularjs
Below code is pure javascript version
I updated my solution as @Tom suggestion.
Click here to see at Plunker for updated version