Custom service and $resource

 * Replaced $http with $resource
 * Created a custom service that represents the $resource client
Custom service and $resource

 * Replaced $http with $resource
 * Created a custom service that represents the $resource client