O'Reilly logo
  • hao wang thinks this is interesting:

The nglf directive could be used in the same way as the ngShow directive; however, while the ngShow directive just deals with the visibility of the element, the ngIf directive prevents the rendering of an element in our template.


Cover of AngularJS Essentials


ngIf 指令