Offline Sync with AngularFire

Ionic + Firebase

$ # in mac:
$ xcode-select -s /Applications/Xcode.app/Contents/Developer

Start Project

Install ionic and cordova:

$ npm install -g ionic cordova

Create a new project:

$ ionic start --list  # list of templates to create an app
tabs ............... ionic-angular A starting project with a simple tabbed interface
blank .............. ionic-angular A blank starter project
sidemenu ........... ionic-angular A starting project with a side menu with navigation in the content area
super .............. ionic-angular A starting project complete with pre-built pages, providers and best practices for Ionic development.
conference ......... ionic-angular A project that demonstrates a realworld application
tutorial ........... ionic-angular A tutorial based project that goes along with the Ionic documentation
aws ................ ionic-angular AWS Mobile Hub Starter
tabs ............... ionic1 A starting project for Ionic using a simple tabbed interface
blank .............. ionic1 A blank starter project for Ionic
sidemenu ........... ionic1 A starting project for Ionic using a side menu with navigation in the content area
maps ............... ionic1 An Ionic starter project using Google Maps and a side menu
$ ionic --help
$ # usage: ionic start [<name>] [<template>] [options]