Can you use Angular Binding Expression inside HTML retrieved from Service?
问题 I have a html snippet that comes from a mongo db retrieved by an angular service. This html snippet is then sanitized on my page using the ng-bind-html directive from ngSanitize. I am wondering how I can bind an expression inside the html snippet to the page, so that when I bind the html the binding expression is executing inside the snippet. For example, here is my div where my html snippet will be bound to: <div ng-bind-html="middle_snippet"> </div> and here is the actual snippet that gets