$scope.submit = function() { ?$http.post('db/adduser.php',$scope.user).success(function(resp){ ? ?// $state.go('login'); ?});}; 查看完整描述