This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Angular ng-if directive is not listed. This may be because Angualr support is hard-coded and ng-if is not supported in the current stable version 1.0.7 however it is supported in releases from 1.5 onward and is in the current 1.2.0RC2 which is likely to be approved before Netbeans 7.4 finalizes.
There are more cases, for instance ng-keyup, keypress... which were added in latest stable 1.0.8 (at least documentation first mentions it with this version). I think this would be a good patch candidate to at least update list of directives in HTML completion
Here's a list of what I've found is missing now: ng-bind-html ng-blur ng-copy ng-cut ng-focus ng-if ng-keydown ng-keypress ng-keyup ng-open ng-paste ng-srcset ng-value Petre if you think it would be risky for patch, please feel free to remove SW. Thank you
Nathaniel J. sent me email about ng-switch directive. CC does not offer ng-switch-when, ng-switch-default but these are "sub-directives" so I'm not sure about them. From email from Nathaniel J.: Additionally ng-switch now works differently. It has ng-switch on="expression" ng-switch-when ng-switch-default http://docs.angularjs.org/api/ng.directive:ngSwitch
Fixed in web-main: http://hg.netbeans.org/web-main/rev/5fad3e73c64e I have added the listed directives, plus the switch subdirectives
Verified, cc now offers mentioned directives. Thank you Product Version: NetBeans IDE Dev (Build 201311130002) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
The fix was transplanted to the releases: http://hg.netbeans.org/releases/rev/7af9482ffc78
Verified in patch Product Version: NetBeans IDE 7.4 (Build 201311142201) Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)