Skip to content

Commit 08cdd77

Browse files
committed
docs: add missing priority documentation for structural directives
1 parent 7566215 commit 08cdd77

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/ng/directive/ngIf.js

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
*
3939
* @element ANY
4040
* @scope
41+
* @priority 600
4142
* @param {expression} ngIf If the {@link guide/expression expression} is falsy then
4243
* the element is removed from the DOM tree. If it is truthy a copy of the compiled
4344
* eleent is added to the DOM tree.

src/ng/directive/ngInclude.js

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
* The enter and leave animation occur concurrently.
3030
*
3131
* @scope
32+
* @priority 400
3233
*
3334
* @param {string} ngInclude|src angular expression evaluating to URL. If the source is a string constant,
3435
* make sure you wrap it in quotes, e.g. `src="'myPartialTemplate.html'"`.

src/ng/directive/ngSwitch.js

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
* </ANY>
3232
*
3333
* @scope
34+
* @priority 800
3435
* @param {*} ngSwitch|on expression to match against <tt>ng-switch-when</tt>.
3536
* @paramDescription
3637
* On child elements add:

src/ngRoute/directive/ngView.js

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ ngRouteModule.directive('ngView', ngViewFactory);
2323
* The enter and leave animation occur concurrently.
2424
*
2525
* @scope
26+
* @priority 400
2627
* @example
2728
<example module="ngViewExample" deps="angular-route.js" animations="true">
2829
<file name="index.html">

0 commit comments

Comments
 (0)