A quick question about AngularJS ng-include, where partial ones have an HTML5 node structure, i.e.: header, nav, footer ...
In my header, I have everything I need to do to make Angular work in Internet Explorer 8 and below.
All ng-view and ng-include work as intended.
The problem is that partial has HTML5 node.
Assumption: partial is called header in partials.
<ng-include src="'partials/header.partial.html'"></ng-include>
Example 1 (header.partial.html source - not displayed in IE8)
<header> <h1>logo</h1> </header>
Example 2 (header.partial.html source - display in IE8)
<div> <h1>logo</h1> </div>
I have included a script requirement from Angular as well as html5 scrolling.
If I move the contents of a partial root file, everything will be fine.
Thoughts?
Eugene andruszczenko
source share