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

Summary

In this chapter, we saw what separation of concerns is and how AngularJS is designed to solve this problem. We quickly went through some of the key AngularJS components that we would use while working with Ionic. You also saw how to create custom directives and custom services, and learned about their usage. The rule of thumb while creating reusable pieces of code when working with AngularJS is to use directives when dealing with HTML elements (DOM), and services/factories otherwise.

You also understood that Ionic uses these AngularJS components to expose an easy-to-use API while building mobile hybrid apps.

In the next chapter, you will be introduced to Ionic. You will learn how to set it up, scaffold a basic app, and understand the project structure. You will also take a look at the bigger picture of developing a mobile hybrid application.

主站蜘蛛池模板: 郯城县| 营口市| 淮安市| 微山县| 余庆县| 安义县| 铅山县| 山丹县| 武邑县| 寿阳县| 辛集市| 通州区| 镇康县| 墨脱县| 九龙县| 宁武县| 湛江市| 霍州市| 锡林郭勒盟| 呼图壁县| 盐城市| 申扎县| 哈尔滨市| 邳州市| 建水县| 酒泉市| 苏尼特左旗| 衡南县| 林周县| 同德县| 高陵县| 延庆县| 沙田区| 大连市| 黎川县| 翁牛特旗| 安陆市| 高州市| 虞城县| 周口市| 邯郸市|