Webkit browsers work perfectly.
Timings also indicate that there is no measurable difference between
the static html page and the one generated via xslt transformation,
for those that are concerned about those things.
There is a problem with angular initialization in Firefox and IE.
The most obvious difference is that webkit browsers fire both the
"domContentLoaded" event and the "load" event vs just the "load" event
for Firefox (did not confirm this was the case with IE).
The issue can be tested with two xml files (content.xml and
content.xsl)
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="content.xsl"?>
<page/>
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="
http://www.w3.org/1999/XSL/
Transform">
<xsl:output method="html" doctype-public="html" indent="yes"/>
<xsl:template match="/">
<html xmlns="
http://www.w3.org/1999/xhtml" xmlns:ng="http://
angularjs.org">
<head>
<title>angular XSLT test app</title>
</head>
<body ng:app="">
<div ng:controller="xsltTestCtrl">
<p>{{item}}</p>
</div>
<script src="
http://code.angularjs.org/angular-0.10.6.js"
type="text/javascript" ng:autobind="1"/>
<script>
<![CDATA[
function xsltTestCtrl($window) {
this.item = "XSLT Angular initialized";
}
]]>
</script>
</body>
</html>
</xsl:template>
</xsl:stylesheet>