ngResource finally works !