From the [documentation](http://docs.angularjs.org/api/ngResource.$resource): 

`$resource(url,[paramDefaults],[actions]);`  

It's expecting you to pass in the parameters as an array not an object

from your code

`$resource("/user/categories_brands" ,{},{ TypeGetCategoryAndBrand:{method: 'get', isArray:true}})`

If the documentation is to be believed than with the error your getting I'd try to pass this in the form of an array and not an object to see if you get the same response.