-
Notifications
You must be signed in to change notification settings - Fork 1
Open
@KnightBubble
Description
var myApp = angular.module('myApp', ['ngResource']);
myApp.factory('Req', ['$resource',
function($resource){
return $resource('./Req/:test', {test:'@test'}, {
query: {method:'GET', params:{test:'students',id:999}, isArray:true},
soga:{method:'POST', params:{id:'SOGA'}, isArray:false}
});
}]);
var user0 = Req.get({},function (res) { });
user0.$get({test:'obj','tt':33333},function () {
});
Metadata
Metadata
Assignees
Labels
No labels