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

Commit a5f037d

Browse files
chikeichanpetebacondarwin
authored andcommitted
docs($templateRequest): fix run-on sentence
The description of $templateRequest contains a run-on sentence that makes it confusing to understand. ORGINAL: If the HTTP request fails or the response data of the HTTP request is empty then a `$compile` error will be thrown (the exception can be thwarted by setting the 2nd parameter of the function to true). NEW: If the HTTP request fails or the response data of the HTTP request is empty, a `$compile` error will be thrown (the exception can be thwarted by setting the 2nd parameter of the function to true). Closes #10456
1 parent 25152bb commit a5f037d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/templateRequest.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ var $compileMinErr = minErr('$compile');
99
* @description
1010
* The `$templateRequest` service downloads the provided template using `$http` and, upon success,
1111
* stores the contents inside of `$templateCache`. If the HTTP request fails or the response data
12-
* of the HTTP request is empty then a `$compile` error will be thrown (the exception can be thwarted
12+
* of the HTTP request is empty, a `$compile` error will be thrown (the exception can be thwarted
1313
* by setting the 2nd parameter of the function to true).
1414
*
1515
* @param {string} tpl The HTTP request template URL

0 commit comments

Comments
 (0)