We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ngView
1 parent 7fba6b6 commit 26d1b34Copy full SHA for 26d1b34
1 file changed
src/ngRoute/directive/ngView.js
@@ -26,6 +26,13 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
26
*
27
* The enter and leave animation occur concurrently.
28
29
+ * @knownIssue If `ngView` is contained in an asynchronously loaded template (e.g. in another
30
+ * directive's templateUrl or in a template loaded using `ngInclude`), then you need to
31
+ * make sure that `$route` is instantiated in time to capture the initial
32
+ * `$locationChangeStart` event and load the appropriate view. One way to achieve this
33
+ * is to have it as a dependency in a `.run` block:
34
+ * `myModule.run(['$route', function() {}]);`
35
+ *
36
* @scope
37
* @priority 400
38
* @param {string=} onload Expression to evaluate whenever the view updates.
0 commit comments