-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: Use angular 1.3+
$templateRequest
service to fetch…
… templates We now fetch templates using `$templateRequest` when it is available (angular 1.3+). You can revert to previous template fetching behavior using `$http` by configuring the ui-router `$templateFactoryProvider`. ```js .config(function($templateFactoryProvider) { $templateFactoryProvider.shouldUnsafelyUseHttp(true); }); ``` There are security ramifications to using `$http` to fetch templates. Read [Impact on loading templates](https://docs.angularjs.org/api/ng/service/$sce#impact-on-loading-templates) for more details Closes #3193 Closes #1882
- Loading branch information
1 parent
01f7d22
commit 7e1f36e
Showing
6 changed files
with
103 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters