首页 > 其他 > 详细

满脑子都是Angular/directive/scope/git

时间:2014-08-07 19:25:30      阅读:370      评论:0      收藏:0      [点我收藏+]

坑1:

directive要用到controller里面的东西呢,有两种办法:

  1. 通过$scope.xxx来设置的,直接用xxx引用

  2. 通过controller function 里面的 this.xxx 设置的,要通过controllerName.xxx引用

爬爬墙,更健康:附AngularJS Directive文档

坑2:

git rebase和git merge有啥不同?

看看这:rebase的用法

满脑子都是Angular/directive/scope/git,布布扣,bubuko.com

满脑子都是Angular/directive/scope/git

原文:http://my.oschina.net/tommyfok/blog/299038

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!