Good point! I do really enjoy writing Angular templates. Embed the language in HTML, instead of the other way around. :D
As an aside, PyCharm is a great editor, it can understand Angular, HTML, CSS, and Jinja all in the same file, and does lots of helpful introspection for me. For example, I can command click any property to jump to it's definition, as well as syntax highlighting for all these languages.
See Polymer for an example of using this in current browsers:
https://www.polymer-project.org
The markup is just custom html elements separate from the behaviour (in js). e.g. a dialog:
https://elements.polymer-project.org/elements/paper-dialog?v...