AngularJS directives have ng-
prefixed to them. Why does it insist on making use of a prefix instead of using an actual xml namespace?
From AngularJS's documentation:
If you choose to use the old style directive syntax ng: then include xml-namespace in html to make IE happy. (This is here for historical reasons, and we no longer recommend use of ng:.)
Using something like this does seem to work:
<html xmlns:ng="http://angularjs.org" ng:app="my-app">
as is evident from this jsFiddle.
But it does not recommend using it and supports it just for historical reasons. Can someone point me to what those reasons might be? Coming from a Flex background, I think XML namespaces are great and I would love to make use of them, but perhaps there is are strong reasons for Angular to go with the prefix approach?