Developing a Cordova App with Ionic and Angular

Ionic is a SDK for developing hybrid mobile applications using Cordova. It is not required (as we saw in the prior example). There are many similar products and open-source project out there. However, Ionic has become a popular (and powerful) way to build Cordova applications that have a more native look at feel.

This section illustrates the setup and configuration of Ionic inside a Visual Studio project. We then look at rebuilding an app written in the prior sample using Ionic and Angular (covered in Chapter 18). This should provide a good comparison. We also extend the features of our app to include a few more common items (like local storage). Let’s get started.


Note

Ionic requires AngularJS (and includes it as part of its package). It also requires Cordova, of course. Ionic makes use of Node.js, NPM, Gulp, and Bower (among other things). Thankfully, most of these items also ship with Visual Studio 2015 as part of ASP.NET 5 and are thus likely already installed and configured on your machine.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset