Links
Snippets
For AngularJS service $sce
/****************************************************************************** * $sce Service * * Ref: http://docs.angularjs.org/api/ng.$sce * * @typedef {{ * HTML: @const !string, * CSS: @const !string, * URL: @const !string, * JS: @const !string, * RESOURCE_URL: @const !string, * isEnabled: function(): boolean, * parseAs: function(string, *): !angular.$parse.Expression, * getTrusted: function(string, *): string, * trustAs: function(string, string): *, * parseAsHtml: function(*): !angular.$parse.Expression, * parseAsCss: function(*): !angular.$parse.Expression, * parseAsUrl: function(*): !angular.$parse.Expression, * parseAsJs: function(*): !angular.$parse.Expression, * parseAsResourceUrl: function(*): !angular.$parse.Expression, * getTrustedHtml: function(*): string, * getTrustedCss: function(*): string, * getTrustedUrl: function(*): string, * getTrustedJs: function(*): string, * getTrustedResourceUrl: function(*): string, * trustAsHtml: function(string): *, * trustAsCss: function(string): *, * trustAsUrl: function(string): *, * trustAsJs: function(string): *, * trustAsResourceUrl: function(string): * * }} *****************************************************************************/ angular.$sce;