resolves angular-ui-bootstrap issue