You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+11
Original file line number
Diff line number
Diff line change
@@ -775,6 +775,17 @@ Where now the `oldValue` will always equal the previous `newValue`:
775
775
| `a=b=3` | [3, 2] | [1, 2] |
776
776
777
777
778
+
### **$templateRequest** due to:
779
+
- **([fb0099](https://github.com/angular/angular.js/commit/fb00991460cf69ae8bc7f1f826363d09c73c0d5e)**: always return the template that is stored in the cache
780
+
781
+
The service now returns the result of `$templateCache.put()` when making a server request to the
782
+
template. Previously it would return the content of the response directly.
783
+
This now means if you are decorating `$templateCache.put()` to manipulate the template, you will
784
+
now get this manipulated result also on the first `$templateRequest` rather than only on subsequent
785
+
calls (when the template is retrived from the cache).
786
+
In practice this should not affect any apps, as it is unlikely that they rely on the template being
0 commit comments