angular-ui / AngularJS-Atom

An AngularJS package for Github's Atom editor
https://atom.io/packages/angularjs
MIT License
284 stars 49 forks source link

don't highlight JavaScript outside html tag #63

Open dryaner opened 8 years ago

dryaner commented 8 years ago

When you use partials normally don't have a complete html structure, sometimes the JavaScript is not included in other html tags. I have an example here.

html-angular script it's NOT highlight correctly.

html-angular-2 If it is inside the fieldset tag. the highlight works correctly

With the default html highlighter of Atom works correctly.