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

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.

主站蜘蛛池模板: 阿合奇县| 西林县| 基隆市| 山东| 横峰县| 剑川县| 四川省| 澎湖县| 桐庐县| 合山市| 临西县| 沁源县| 东乡县| 富平县| 丰镇市| 新泰市| 丰城市| 博爱县| 三明市| 庐江县| 安达市| 新安县| 淳安县| 甘南县| 甘南县| 财经| 丹江口市| 民权县| 乌兰察布市| 夏津县| 周宁县| 南通市| 平安县| 芜湖县| 岗巴县| 城口县| 临猗县| 织金县| 东至县| 安多县| 泰宁县|