aboutsummaryrefslogtreecommitdiffstats
path: root/src/AngularPublic.js
diff options
context:
space:
mode:
authorOren Avissar2013-04-04 18:17:58 -0700
committerPete Bacon Darwin2013-04-19 21:45:38 +0100
commit2f96fbd17577685bc013a4f7ced06664af253944 (patch)
treeaa0ca0656443f9d9fd42ac971d355e70b939c867 /src/AngularPublic.js
parent8a2bfd7a78fbed2fcf2fd0a0301979b02b89cab2 (diff)
downloadangular.js-2f96fbd17577685bc013a4f7ced06664af253944.tar.bz2
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.
Diffstat (limited to 'src/AngularPublic.js')
-rwxr-xr-x[-rw-r--r--]src/AngularPublic.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js
index a66c35b3..1fd18ce2 100644..100755
--- a/src/AngularPublic.js
+++ b/src/AngularPublic.js
@@ -82,6 +82,7 @@ function publishExternalAPI(angular){
ngController: ngControllerDirective,
ngForm: ngFormDirective,
ngHide: ngHideDirective,
+ ngIf: ngIfDirective,
ngInclude: ngIncludeDirective,
ngInit: ngInitDirective,
ngNonBindable: ngNonBindableDirective,