文章参考 http://blog.csdn.net/amohan/article/details/39249369
$scope.addAddress = function () { alert(this.addAddress); $state.go('setting_add_address'); };
备注:
这里的this是指代当前的$scope对象。
文章参考 http://blog.csdn.net/amohan/article/details/39249369
$scope.addAddress = function () { alert(this.addAddress); $state.go('setting_add_address'); };
备注:
这里的this是指代当前的$scope对象。