O'Reilly logo

Ionic : Hybrid Mobile App Development by Hoc Phan, Sani Yusuf, Rahat Khanna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Extending Ionic 2 with Angular 2 Building Blocks

In this chapter, we will cover the following tasks related to creating custom components, directives, and filters with Angular 2:

  • Creating a custom pizza ordering component
  • Creating a custom username input directive
  • Creating a custom pipe
  • Creating a shared service to provide data to multiple pages

Introduction

Most of Ionic's out-of-the-box features are actually prebuilt components. In this section, you will learn how to create your own custom component using the html template, which contains Ionic components as well.

Components actually define Angular 2. A component is no more than just a class with self-describing features. For example, <ul> is a component that you are already familiar with. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required