Why is ng-bind-html not displaying anything?
问题 I am displaying a string that has HTML code in it: <div style="font-size: 14px" ng-bind="currentBook.description"></div> put it displays the HTML code instead of interpreting the elements: When I use ng-bind and ng-bind-unsafe , it shows nothing. How can I get the HTML to be parsed? Addendum I added a reference to sanitize but ng-bind and ng-bind-unsafe still show nothing: <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.26/angular.min.js"></script> <script src="http://ajax