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

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.

主站蜘蛛池模板: 南通市| 舞钢市| 普格县| 乐陵市| 怀宁县| 安泽县| 临朐县| 宁波市| 博野县| 清苑县| 内乡县| 新营市| 荔波县| 雅江县| 龙江县| 曲水县| 诸城市| 北川| 福贡县| 二连浩特市| 天祝| 江永县| 晋中市| 修水县| 名山县| 广水市| 武冈市| 元江| 淮阳县| 高安市| 纳雍县| 吉木萨尔县| 广汉市| 军事| 密云县| 宁城县| 临漳县| 平罗县| 虞城县| 昌宁县| 成安县|