The 'replace' property on Angular directives are now deprecated and not recommended for use. http://stackoverflow.com/questions/24194972/why-is-replace-deprecated-in-angularjs