[ 
https://issues.apache.org/jira/browse/NETBEANS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16121330#comment-16121330
 ] 

Dalton Notetech commented on NETBEANS-50:
-----------------------------------------

As per HTML spec, it is not illegal to add special characters in html 
attributes 
So following are valid attrubute names
*(property)*
*[smth]*
**ngFor*
*[(twoWay)]*

Also it is possible to add custom components (tags) in html. The below tag is 
perfectly valid in html
*<app></app>*

> Please support angular2 template syntax in html files
> -----------------------------------------------------
>
>                 Key: NETBEANS-50
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-50
>             Project: NetBeans
>          Issue Type: New Feature
>          Components: web - AngularJS, web - HTML Editor
>    Affects Versions: Next
>            Reporter: Christian Lenz
>         Attachments: angular2-template-syntax.png
>
>
> As you can see here: https://angular.io/guide/template-syntax the syntax of 
> templates changed for attributes for example. We have (property), [smth] or 
> *ngFor. If you use those, which are essential when you use angular2, the file 
> has red lines. See the screenshot for more info.
> So please implement the known syntax into the html editor.
> Regards
> Chris



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to