- fix IE Invalid Argument error when using $compile inside a directive