adding support for angular-ui 0.6.0