Renamed the service and made it return promises because that's what it would return if the persistence was based on $http or $resource.