Switched resource from ngResource to mongolabResource