According to some other Stackoverflow QA you can pre-fix your angularjs attributes with the data-
attribute.
So ng-app
would become data-ng-app
. This would mean that your markup is valid html5 and still work with angularjs.
See these questions for reference.