title: Background Services in Cordova Ionic
body: <p>I've been working with Ionic v1.x for the past 5 months and currently we're migrating to Angular2/Ionic2, super excited!</p>
  
  <p>There's still one obstacle though that we haven't been able to address. How do we implement background services? I'm aware of a number of plugins out there but none of them is what I'm looking for.</p>
  
  <p>I know we can write our services in Java for instance, but I still haven't found anything useful on the subject. How do I wire up the service with my Ionic app? and how do build the project with PhoneGap or cordova/ionic CLI?</p>
  
  <p>Basically I need a background service that starts after device boot, and it might be running in the background whether the app is open or not, active or suspended. We have a native app so all I need to do now is find a way to wire it up and build my Ionic app.</p>
  
  <p>Any thoughts are appreciated, but I'm especially looking for tutorials, sample codes etc.</p>