Angular 201703
$http
vm.auth = function() { return $http({ method: 'POST', url: 'sys/auth.json' }) } service.auth().success(function(data) { })
vm.auth = function() { return $http({ method: 'POST', url: 'sys/auth.json' }) } service.auth().success(function(data) { })