From 08cdd77c28e95cb2d01d568f31873124c97ec33a Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 14 Oct 2013 09:53:32 -0700 Subject: docs: add missing priority documentation for structural directives --- src/ng/directive/ngIf.js | 1 + src/ng/directive/ngInclude.js | 1 + src/ng/directive/ngSwitch.js | 1 + src/ngRoute/directive/ngView.js | 1 + 4 files changed, 4 insertions(+) (limited to 'src') diff --git a/src/ng/directive/ngIf.js b/src/ng/directive/ngIf.js index 2212e762..dc95d170 100755 --- a/src/ng/directive/ngIf.js +++ b/src/ng/directive/ngIf.js @@ -38,6 +38,7 @@ * * @element ANY * @scope + * @priority 600 * @param {expression} ngIf If the {@link guide/expression expression} is falsy then * the element is removed from the DOM tree. If it is truthy a copy of the compiled * eleent is added to the DOM tree. diff --git a/src/ng/directive/ngInclude.js b/src/ng/directive/ngInclude.js index b2ebeda9..2d164923 100644 --- a/src/ng/directive/ngInclude.js +++ b/src/ng/directive/ngInclude.js @@ -29,6 +29,7 @@ * The enter and leave animation occur concurrently. * * @scope + * @priority 400 * * @param {string} ngInclude|src angular expression evaluating to URL. If the source is a string constant, * make sure you wrap it in quotes, e.g. `src="'myPartialTemplate.html'"`. diff --git a/src/ng/directive/ngSwitch.js b/src/ng/directive/ngSwitch.js index 8087390a..320400d9 100644 --- a/src/ng/directive/ngSwitch.js +++ b/src/ng/directive/ngSwitch.js @@ -31,6 +31,7 @@ * * * @scope + * @priority 800 * @param {*} ngSwitch|on expression to match against ng-switch-when. * @paramDescription * On child elements add: diff --git a/src/ngRoute/directive/ngView.js b/src/ngRoute/directive/ngView.js index b031281d..1706e25a 100644 --- a/src/ngRoute/directive/ngView.js +++ b/src/ngRoute/directive/ngView.js @@ -23,6 +23,7 @@ ngRouteModule.directive('ngView', ngViewFactory); * The enter and leave animation occur concurrently. * * @scope + * @priority 400 * @example -- cgit v1.2.3