Mixing $http Promises and $q Promises for cached Data