$http

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


service.auth().success(function(data) {
})