Fixing other IE8 compatibility problems.
Angular directives must always set replace parameter to true to ensure that its development is compatible with IE8...