Tales of an IT Nobody

devbox:~$ iptables -A OUTPUT -j DROP

angular-ui-router – IE8 and nested states April 16, 2014

Just a quick tip, If you still have to maintain compatibility with IE8 (< AngularJS 1.3) – and you’re using angular-ui-router for nested views, the documentation for nesting states says you should use “<ui-view />” for your template for an abstract parent state:

Remember: Abstract states still need their own <ui-view/> for their children to plug into. So if you are using an abstract state just to prepend a url, set resolves/data, or run an onEnter/Exit function, then you’ll additionally need to set template: "<ui-view/>".

 

The problem is, IE8 doesn’t like “<ui-view />” – so instead, (I’d suggest this anyways), use:

 

 

2 Comments on angular-ui-router – IE8 and nested states