Is it possible to create an HTML fragment in an AngularJS controller and have this HTML shown in the view?
This comes from a requirement to turn an
Use
and
angular.module('MyApp', ['ngSanitize']);
For that, you need to include angular-sanitize.js, for example in your html-file with
angular-sanitize.js