Developing the application
First, we will scaffold and set up the app.
Scaffolding and setting up the app
We will start off by scaffolding a tabs application. Run this:
ionic start -a "Ionic Chat App" -i app.ionic.chat ionic-chat-app tabs
Using the cd
command, go to the ionic-chat-app
folder and run this:
ionic server
To view the sample tabs app.
Before we proceed, we are going to install dependencies needed for this application via Bower. From the root of the project, run this:
bower install ngCordova ng-cordova-oauth firebase angularfire lato --save
The gist of what these bower components are used for is as follows:
ngCordova
: The ngCordova library.ng-cordova-oauth
: At the time of writing, there is an issue with theng-cordova-oauth
module that is bundled with ngCordova, so we are installing it separately and using it. The issue I am facing now might have been fixed by the time you are executing this code.firebase
: This is the firebase source.angularfire
: This is the AngularFire source...