Adding resource file and calling the factories
Calling ngResource
Creating the factory. Wrapping it on a selfie.
Requiring and using the api