title: AngularJS: how can I call a function after certain time interval?
body: <p>My Scenario is:</p>
  <p>I want to call the logout function after let says 30 mins automatically in my app. Is this possible to achieve this? And moreover, I want to know the time of the user's last interactivity with my application. Can anybody help me regarding this??</p>