title: How to make entire ionic android app to run as background service?
body: <p>I am currently developing a todo app (android) using ionic framework which can synchronize with the pouchdb when it is connected to the internet, and also user will receive notification in background when new task has been added to the database and sync to the phone. </p>
  
  <p>So if I want the user to receive the notification in background the whole app should be also running in background so that it will detect any new task sync to the phone and generate local notification to notify the user about the incoming new task. </p>
  
  <p>So my question is: is it possible to make my whole cordova/ionic app or whole app.js to be running in background as a background service?</p>