fix(directive): make directive compatible with IE9+
Merge pull request #1 from qraynaud/master

fix(directive): make directive compatible with IE9+