After reading AngularJS tutorial step-9 I have created my own AngularJS filter, which should convert boolean data into html.
Here is my filter code:
Try this filter
filter('trust', ['$sce',function($sce) { return function(value, type) { return $sce.trustAs(type || 'html', value); } }]);
requires angular-sanitize
var app = angular.module("myApp", ['ngSanitize']);
Gist Link