Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf4f85f

Browse files
fuqcoolbtford
authored andcommitted
docs(error/$sce/insecurl): fix links to $sce and $sceDelegateProvider
1 parent 93510eb commit cf4f85f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/content/error/$sce/insecurl.ngdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ By default, only URLs that belong to the same origin are trusted. These are urls
1515
The {@link ng.directive:ngInclude ngInclude} directive and {@link guide/directive directives} that specify a `templateUrl` require a trusted resource URL.
1616

1717
To load templates from other domains and/or protocols, either adjust the {@link
18-
api/ng.$sceDelegateProvider#resourceUrlWhitelist whitelist}/ {@link
19-
api/ng.$sceDelegateProvider#resourceUrlBlacklist blacklist} or wrap the URL with a call to {@link
20-
api/ng.$sce#trustAsResourceUrl $sce.trustAsResourceUrl}.
18+
ng.$sceDelegateProvider#resourceUrlWhitelist whitelist}/ {@link
19+
ng.$sceDelegateProvider#resourceUrlBlacklist blacklist} or wrap the URL with a call to {@link
20+
ng.$sce#trustAsResourceUrl $sce.trustAsResourceUrl}.
2121

2222
**Note**: The browser's [Same Origin
2323
Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest) and

0 commit comments

Comments
 (0)