bugfix for angular-q