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

Commit 0e46111

Browse files
committed
docs($templateRequestProvider): make the description more generic and fix link
1 parent bfad2a4 commit 0e46111

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ng/templateRequest.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ var $compileMinErr = minErr('$compile');
66
* @ngdoc provider
77
* @name $templateRequestProvider
88
* @description
9-
* Used to configure the Accept header that is sent to the server when requesting a template.
9+
* Used to configure the options passed to the {@link $http} service when making a request.
10+
*
11+
* For example, it can be used for specifying the "Accept" header that is sent to the server, when
12+
* requesting a template.
1013
*/
1114
function $TemplateRequestProvider() {
1215

@@ -19,7 +22,7 @@ function $TemplateRequestProvider() {
1922
* The options to be passed to the $http service when making the request.
2023
* You can use this to override options such as the Accept header for template requests.
2124
*
22-
* The {$templateRequest} will set the `cache` and the `transformResponse` properties of the
25+
* The {@link $templateRequest} will set the `cache` and the `transformResponse` properties of the
2326
* options if not overridden here.
2427
*
2528
* @param {string=} value new value for the {@link $http} options.

0 commit comments

Comments
 (0)