Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Learning Ionic
  • Toc
  • feedback
Learning Ionic

Learning Ionic

By : Ravulavaru
4.4 (14)
close
Learning Ionic

Learning Ionic

4.4 (14)
By: Ravulavaru

Overview of this book

This book is intended for those who want to learn how to build hybrid mobile applications using Ionic. It is also ideal for people who want to explore theming for Ionic apps. Prior knowledge of AngularJS is essential to complete this book successfully.
Table of Contents (12 chapters)
close
11
Index

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 the ng-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...

Unlock full access

Continue reading for free

A Packt free trial gives you instant online access to our library of over 7000 practical eBooks and videos, constantly updated with the latest in tech
bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete