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