阅读背景:

在AngularJS中,我的指令无法访问$ http中定义的父控制器的$ scope属性

来源:互联网 

I'm creating a custom directive that inherits the scope of the parent controller. For the most part, I can access the directive's "scope" object that I set in the controller's "$scope" except for properties I set inside an $http.get. Whether those properties came from the API or were just literally defined does not matter.I'm creating a custom directive that inherits t




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: