Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 798fb18

Browse files
committed
docs(Module): clarify that component's template(Url) fn is injectable
Related #13485
1 parent 99d601a commit 798fb18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/loader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ function setupModuleLoader(window) {
301301
* returns an html template as a string which should be used as the contents of this component.
302302
* Empty string by default.
303303
*
304-
* If `template` is a function, then it is {@link auto.$injector#invoke injected} with
304+
* If `template` is a function, then it is {@link guide/di injectable}, and receives
305305
* the following locals:
306306
*
307307
* - `$element` - Current element
@@ -310,7 +310,7 @@ function setupModuleLoader(window) {
310310
* - `templateUrl` – `{string=|function()=}` – path or function that returns a path to an html
311311
* template that should be used as the contents of this component.
312312
*
313-
* If `templateUrl` is a function, then it is {@link auto.$injector#invoke injected} with
313+
* If `templateUrl` is a function, then it is {@link guide/di injectable}, and receives
314314
* the following locals:
315315
*
316316
* - `$element` - Current element

0 commit comments

Comments
 (0)