文章参考http://www.jb51.cc/article/p-nifqddjs-du.html
$scope.addAddress = function () { alert(this.addAddress); $state.go('setting_add_address'); };
备注:
这里的this是指代当前的$scope对象。
文章参考http://www.jb51.cc/article/p-nifqddjs-du.html
$scope.addAddress = function () { alert(this.addAddress); $state.go('setting_add_address'); };
备注:
这里的this是指代当前的$scope对象。