feat(ngIf): add directive to remove and recreate DOM elements

This directive is adapted from ui-if in the AngularUI project and provides a complement
to the ngShow/ngHide directives that only change the visibility of the DOM element and
ngSwitch which does change the DOM but is more verbose.
This commit is contained in:
Oren Avissar
2013-04-04 18:17:58 -07:00
committed by Pete Bacon Darwin
parent 8a2bfd7a78
commit 2f96fbd175
4 changed files with 276 additions and 0 deletions

1
angularFiles.js vendored Normal file → Executable file
View File

@@ -49,6 +49,7 @@ angularFiles = {
'src/ng/directive/ngController.js',
'src/ng/directive/ngCsp.js',
'src/ng/directive/ngEventDirs.js',
'src/ng/directive/ngIf.js',
'src/ng/directive/ngInclude.js',
'src/ng/directive/ngInit.js',
'src/ng/directive/ngNonBindable.js',