default Model to resource

add the ability of default Model to the $resource so you can do nice think like that: 
.factory('User',function($resource){
        var model = {
                contacts:[],
                logos:[]
        };
        var User = $resource('user/:id/:action',{id:'@_id'},model,{
            get: { method:'GET',   params:{action:''} },
            remove:{ method:'GET', params:{action:'remove'} },
            save:{ method:'POST',  params:{action:'' } },
            list:{ method:'GET',  params:{action:'list'},isArray:true) }
        });

        return User;

});

function ctrl($scope,User){
  $scope.user = new User()
}
/*
 return 
  user = {
      contacts:[],
      logos:[]
      $get:function,
      $remove:function
      $save:function,
      $list:function
 }
*/