Use Api instead $resource