Have a personal or library account? Click to login
Ionic 2 Cookbook Cover

Ionic 2 Cookbook

The rich flavors of Ionic at your disposal

Paid access
|Sep 2025
Product purchase options

Over 30 life-changing recipes to help you create cutting edge, hybrid apps with Ionic 2.

Key Features

  • Leverage Ionic 2 and its exciting new features to create cutting edge real-time apps
  • Work through simple recipes to address your problems directly and solve them effectively
  • Get examples at each step to guide you on your learning curve

Book Description

Developing real-time apps is the need of the hour, and apps that deal with humongous amounts of user data and real-time information that needs to be updated frequently are in high demand. Currently, one of the most popular frameworks for this task is Ionic Framework, which is undergoing a major makeover.
This book will get you started with Ionic and help you create Angular 2 components that interact with templates. From there, you’ll work with Ionic components and find out how to share data efficiently between them. You’ll discover how to make the best use of the REST API to handle back-end services and then move on to animating the application to make it look pretty.
You’ll learn to add in a local push notification in order to test the app. You’ll work with Cordova to support native functionalities on both iOS and Android. From there, you’ll get to grips with using the default themes for each platform as well as customizing your own. Finally, you’ll see how best to deploy your app to different platforms.
This book will solve all your Ionic-related issues through dedicated recipes that will help you get the best out of Ionic.

What you will learn

  • Create custom UIs using Angular 2 directives
  • Make the best use of REST APIs to submit forms
  • Create beautiful animations and graphics in the application
  • Embed videos and other media into the app
  • Access native device functionalities such as a camera and maps using ngCordova
  • Theme the application based on the various platform styles available
  • Publish your application to a variety of platforms
  • Leverage Angular 2 events and Ionic-specific events to communicate

Who this book is for

This book is for front end JavaScript developers who know the basics of JavaScript programming. No prior knowledge of Ionic is required to get the most of this book.

Table of Contents

  1. Creating Your First Ionic 2 App
  2. Adding Ionic 2 Components
  3. Extending Ionic 2 with Angular 2 Building Blocks
  4. Taking User Inputs and Handling Backend Services
  5. Animating the App
  6. Authenticating User for Push Notification
  7. Supporting Native Device Functionalities using Cordova
  8. Theming the App
  9. Publishing the App for Different Platforms
https://github.com/packtpublishing/ionic-2-cookbook
PDF ISBN: 978-1-78646-833-8
Publisher: Packt Publishing Limited
Copyright owner: © 2016 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 320