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

Commit 11d60af

Browse files
gkalpakNarretz
authored andcommitted
docs($templateRequestProvider): make the description more generic and fix link
1 parent 865f606 commit 11d60af

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/ng/templateRequest.js

+8-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,12 @@ var $compileMinErr = minErr('$compile');
55
/**
66
* @ngdoc provider
77
* @name $templateRequestProvider
8+
*
89
* @description
9-
* Used to configure the Accept header that is sent to the server when requesting a template.
10+
* Used to configure the options passed to the {@link $http} service when making a template request.
11+
*
12+
* For example, it can be used for specifying the "Accept" header that is sent to the server, when
13+
* requesting a template.
1014
*/
1115
function $TemplateRequestProvider() {
1216

@@ -16,10 +20,10 @@ function $TemplateRequestProvider() {
1620
* @ngdoc method
1721
* @name $templateRequestProvider#httpOptions
1822
* @description
19-
* The options to be passed to the $http service when making the request.
20-
* You can use this to override options such as the Accept header for template requests.
23+
* The options to be passed to the {@link $http} service when making the request.
24+
* You can use this to override options such as the "Accept" header for template requests.
2125
*
22-
* The {$templateRequest} will set the `cache` and the `transformResponse` properties of the
26+
* The {@link $templateRequest} will set the `cache` and the `transformResponse` properties of the
2327
* options if not overridden here.
2428
*
2529
* @param {string=} value new value for the {@link $http} options.

0 commit comments

Comments
 (0)