And there's something I don't understand: the directive has its own isolated scope, so how can it use isIE9 here? isIE9 is on the parent scope, but it's not on the directive's isolated scope. No?