Make compatible with angular-bootstrap