user3255061 user3255061 - 2 months ago 42
AngularJS Question

AngularJS Filters not working in Internet Explorer

I get curly braces when using filters in latest Internet explorer (11) when there is other text around the binding, like

<span>something {{date | date:'yyyy'}}</span>


Also when I've elements around the binding, like

<span>something</span>{{date | date:'yyyy'}}</span>


Anyone knows how to prevent that?

Full code: http://plnkr.co/edit/nVv2mM4US2JakTm1tGlF?p=preview

Answer

This is a bug in AngularJS when it was attempting to access window.history.state:

https://github.com/angular/angular.js/issues/10367

Change the Angular version to v1.3.15 or higher - it was fixed in v1.3.15 (your plunker uses v1.3.13). It doesn't seem to be related to filters; at least not directly.

Comments