Changed directive attributes to allow ie8 support.

Hi,

i would like to use our great directive in my project, but unfortunately my customer wants ie8 support. It would be great, if this small change would be accepted.