title: How to watch idle in ionic2 and angular2
body: <p>I wanna watch idle for input box, mouse event and entire page..if 5 min idle, I wanna do auto logout and go to initial log in page using ionic2
  My ionic2 info is</p>
  
  <pre><code>global packages:
  
  @ionic/cli-utils : 1.2.0
  Cordova CLI      : 7.0.1
  Ionic CLI        : 3.2.0
  </code></pre>
  
  <p>local packages:</p>
  
  <pre><code>@ionic/app-scripts              : 1.3.7
  @ionic/cli-plugin-cordova       : 1.3.0
  @ionic/cli-plugin-ionic-angular : 1.3.0
  Cordova Platforms               : android 6.2.3
  Ionic Framework                 : ionic-angular 3.2.1
  </code></pre>
  
  <p>System:</p>
  
  <pre><code>Node       : v6.10.3
  OS         : Windows 10
  Xcode      : not installed
  ios-deploy : not installed
  ios-sim    : not installed
  </code></pre>