Angular 2 Data Persistence
<p>Our dev team started the great switch to the Angular2/Ionic2 framework, and one small detail left us puzzled - which is the best way to achieve data persistence? I've found an almost two year old Google Doc on a Design for Ang2 Data Persistence, however, it doesn't seem like it's been implemented at all. The most important functions I need are:</p>

<ol>
<li>binding the data on client and server side, so every change gets automatically committed</li>
<li>local dataset to work with when the application goes offline</li>
<li>caching the offline work, syncing it with the backend immediately on reconnection</li>
</ol>

<p>(In short, the functionality of Swarm.js for example)
I've searched blogs, stackoverflow, but so far no answer - as far as I understood I can't even use widely accepted external solutions, such as PouchDB to solve this problem, and constantly making http get/post calls with manual caching in localStorage won't do it for the projects we're working on. What do you think? Is there a way to achieve this?</p>