Book Image

Ionic Cookbook

By : Hoc Phan
Book Image

Ionic Cookbook

By: Hoc Phan

Overview of this book

Table of Contents (18 chapters)
Ionic Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


In this chapter, you will learn how to access some common features of a device such as the camera, contact list, email, and map. Some of those features can be written in a JavaScript-only environment but the performance is not on a par with native support.

Cordova has a very well-supported community with many plugins. You may want to check out http://plugins.cordova.io/ to understand what is out there. Luckily, you don't need to deal with those plugins directly. You can use the ngCordova (http://ngcordova.com/docs/) service on top of Cordova and AngularJS. Keep in mind that even if you use ngCordova, you still need the Cordova plugin because ngCordova just "Angular-izes" the way you interact with it.