Anyone else getting stuck by not being able to access the literal value of the string, out side of any context?
Working in a directive, I have an unsafe HTML string that I must call $sce.getTrustedHtml on, in order to put it into the DOM. However, I want to split that string on spaces and further condition it, before displaying it. The $sce object returns values appropriate for use in certain contexts, such as ng-bind, and it seems those values must match their corresponding type. For instance, an HTML string seems to only be accessible in an HTML context. Is there a way I can access the HTML string as plain old fashion Javascript? PSWille -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
