Getting ready

Since this is the first app you are building from scratch, you need to ensure that you have followed through Chapter 1, Creating Our First App with Ionic, to set up the environment and Ionic CLI. If you already had Ionic 1, it must be updated. For this, you can use the same command line as was used to install it, which is as follows:

$ sudo npm install -g cordova ionic ios-sim

Get Ionic Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.