官术网_书友最值得收藏!

Chapter 1. Ionic – Powered by AngularJS

Ionic is one of the most widely used mobile hybrid frameworks. It has more than 17,000 stars and more than 2,700 forks on GitHub at the time of writing this chapter. Ionic is built on top of AngularJS, a super heroic framework for building MVW apps. In this introductory chapter, we will take a look at AngularJS and understand how it powers Ionic. We will take a look at a couple of key AngularJS components, named directives, and services that are widely used when working with Ionic.

Note

This book assumes that you have basic to intermediate knowledge of AngularJS. If not, you can follow the book AngularJS Essentials, Rodrigo Branas, or the video Learning AngularJS, Jack Herrington, both by Packt Publishing, to get yourself acquainted with AngularJS.

In this chapter, I will explain only AngularJS directives and services. For other core AngularJS concepts, refer to the book/video mentioned earlier.

In this chapter, we will cover the following topics:

  • What is separation of concerns?
  • How does AngularJS solve this problem?
  • What are AngularJS built-in directives and custom directives?
  • What are AngularJS services and how do custom services work?
  • How are directives and services leveraged in Ionic?
主站蜘蛛池模板: 登封市| 庆云县| 阿巴嘎旗| 澄江县| 福泉市| 六盘水市| 鱼台县| 南丰县| 满城县| 赤城县| 东乡县| 九寨沟县| 五河县| 中牟县| 邵阳市| 思茅市| 迭部县| 方城县| 莆田市| 卫辉市| 海南省| 丹凤县| 福海县| 大英县| 仲巴县| 汾阳市| 迁西县| 宜兰县| 台湾省| 平远县| 虎林市| 清丰县| 黄浦区| 杭锦旗| 乐亭县| 安阳市| 崇仁县| 宾阳县| 搜索| 金乡县| 苏州市|