01 2018 档案

摘要:angularJS中directive父子组件的数据交互 1. 使用共享 scope 的时候,可以直接从父 scope 中共享属性。使用隔离 scope 的时候,无法从父 scope 中共享属性。在 Directive 中创建隔离 scope 很简单,只需要定义一个 scope 属性即可,这样,这个 阅读全文
posted @ 2018-01-24 10:59 孟丽媛 阅读(2955) 评论(0) 推荐(0)
摘要:一、预期实现效果: https://liyuan-meng.github.io/uiRouter-app/index.html (项目地址:https://github.com/liyuan-meng/uiRouter-app) 二、分析题目要求,给出依赖关系,构建项目 1. service: (1 阅读全文
posted @ 2018-01-09 23:31 孟丽媛 阅读(1404) 评论(0) 推荐(2)