title: Run ionic app in a background mode
body: <p>I have developed an ionic app using angularjs. Now my app is working perfectly if I do not close my app, however functionality of my app is like an alarm so I need to trigger it from background as well even after user closed the app. So how can I achieve this.</p>
  
  <p>I have even found this
  <a href="https://github.com/katzer/cordova-plugin-background-mode" rel="nofollow">https://github.com/katzer/cordova-plugin-background-mode</a></p>
  
  <p>but I am not sure that how to use this along with angularjs. Or if you know any other way to achieve this then please share. Any help would be appreciated.</p>