search

Home  >  Q&A  >  body text

angular.js - Does anyone know how to bind html using ng-bind-html. But the html is escaped

Does anyone know how to use ng-bind-html to bind html? But the html is escaped
I didn’t do anything but introduced ngSanitize

when defining ng-app.
漂亮男人漂亮男人2811 days ago1082

reply all(1)I'll reply

  • phpcn_u1582

    phpcn_u15822017-05-15 16:55:57

    1.3 Try using ng-bind-html-unsafe

    reply
    0
  • Cancelreply