摘要: 前言 factory factory方式创建的服务,作用就是返回一个有属性有方法的对象。相当于:var f = myFactory(); 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 阅读全文
posted @ 2017-05-25 17:09 前端YYK 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 本教程使用AngularJs版本:1.5.3 AngularJs GitHub: https://github.com/angular/angular.js/ AngularJs下载地址:https://angularjs.org/ 摘要:Directive(指令)笔者认为是AngularJ非常强大 阅读全文
posted @ 2017-05-25 17:08 前端YYK 阅读(1199) 评论(0) 推荐(0) 编辑