文章参考 http://blog.csdn.net/amohan/article/details/39249369
$scope.addAddress = function () { alert(this.addAddress); $state.go('setting_add_address'); };
备注:
这里的this是指代当前的$scope对象。
扫描二维码关注公众号,回复:
498670 查看本文章
文章参考 http://blog.csdn.net/amohan/article/details/39249369
$scope.addAddress = function () { alert(this.addAddress); $state.go('setting_add_address'); };
备注:
这里的this是指代当前的$scope对象。