MCPcopy Create free account
hub / github.com/binux/qiandao / getStringValue

Function getStringValue

web/static/components/angularjs/angular.js:18273–18275  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18271 var parsed = $parse(attr.ngBindHtml);
18272
18273 function getStringValue() {
18274 return (parsed(scope) || '').toString();
18275 }
18276
18277 scope.$watch(getStringValue, function ngBindHtmlWatchAction(value) {
18278 element.html($sce.getTrustedHtml(parsed(scope)) || '');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected