Added service.  Converted service to use $resource.