fix($compile): bugfix for IE8

Solve the bug that angular-ui bootstrap modal is not
showing up in IE8