已采纳回答 / jennylin774281991
感觉是因为先依赖于superman指令,“ require: '^superman', ”,所以就可以有supermanCtrl,利用它就可以调用superman指令中controller暴露的方法。我尝试把“ require: '^superman', ”这句去掉,结果会报错,找不到addSpeed方法,说它undefined。我是这样猜想的。
2016-08-31
最新回答 / Misaya_hu
News! ng-grid has been rewritten as UI Grid, it's now stable! Check it out.
2016-08-29