Ionic 3 is an open source framework for building hybrid mobile applications that can be built into mobile apps for Android, iOS, and Windows phones.
Ionic 3 is built on top of Angular and Apache Cordova with HTML5, CSS, and SASS. In this section, we will build a hybrid native app that consumes our PacktContacts web API.
Follow the steps found at https://ionicframework.com/docs/v2/setup/installation/ to install Ionic 3. Be sure that the latest versions of NodeJS and NPM are installed.
Create a blank app for Ionic 3 with TypeScript by running the following command:
ionic start packtcontactapp blank
This creates an Ionic 3 project built on top of an Angular framework, so we can leverage the code that we wrote in the previous section.
PacktService is a service provider that talks to the web API using HTTP, and can be created by running the...