[jbosstools-issues] [JBoss JIRA] (JBIDE-14597) ng-app AngularJS
Alexey Kazakov (JIRA)
jira-events at lists.jboss.org
Thu May 23 13:14:06 EDT 2013
[ https://issues.jboss.org/browse/JBIDE-14597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776484#comment-12776484 ]
Alexey Kazakov edited comment on JBIDE-14597 at 5/23/13 1:12 PM:
-----------------------------------------------------------------
This is again WTP HTML validator.
But it's not a bug.
ng-* are non-standard attributes for HTML5 (looking at the screenshot I can say that the page is even not defined as HTML5, and HTML4 is even more strict)
But after googling I found out that you can safely use data-ng-* instead of ng-*. So AngularJS supports both standard and non-standard ways of custom attribute naming.
See http://dailyjs.com/2012/09/06/mvstar-7/
was (Author: akazakov):
This is againg WTP HTML validator.
But it's not a bug.
ng-* are non-standard attributes for HTML5 (looking at the screenshot I can say that the page is even not defined as HTML5, and HTML4 is even more strict)
But after googling I found out that you can safely use data-ng-* instead of ng-*. So AngularJS supports both standard and non-standard ways of custom attribute naming.
See http://dailyjs.com/2012/09/06/mvstar-7/
> ng-app AngularJS
> ----------------
>
> Key: JBIDE-14597
> URL: https://issues.jboss.org/browse/JBIDE-14597
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: jsp/jsf/xml/html source editing, upstream
> Reporter: Burr Sutter
> Attachments: 2013-05-23_0752.png, html5_demo.fsh
>
>
> Warning:
> Undefined attribute name (ng-app).
> Undefined attribute name (ng-controller).
> AngularJS is part of the new HTML5 Scaffolding feature in Forge 1.3
> forge install-plugin angularjs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list