hack rs promises for angular