$sanitize:badparse Parsing Error while Sanitizing


#1

Html bad parsing error occured while bind the html using ng-bind-html to the div Although i tried $sanitize(html)

Error: $sanitize:badparse Parsing Error while Sanitizing

but if i assign my html to div using innerHTML property of div then its displaying whole html correct is there any other way to parse html in Angular.js.