This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +8
-4
lines changed
1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5,8 +5,12 @@ var $compileMinErr = minErr('$compile');
5
5
/**
6
6
* @ngdoc provider
7
7
* @name $templateRequestProvider
8
+ *
8
9
* @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.
10
14
*/
11
15
function $TemplateRequestProvider ( ) {
12
16
@@ -16,10 +20,10 @@ function $TemplateRequestProvider() {
16
20
* @ngdoc method
17
21
* @name $templateRequestProvider#httpOptions
18
22
* @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.
21
25
*
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
23
27
* options if not overridden here.
24
28
*
25
29
* @param {string= } value new value for the {@link $http} options.
You can’t perform that action at this time.
0 commit comments