How to completly disable angular html escape (app wide)?

225 views Asked by At

I have tried this :

angular.module('dashboard').config(['$ocLazyLoadProvider', '$httpProvider', '$sceProvider',
        function($ocLazyLoadProvider, $httpProvider, $sceProvider) {
    $sceProvider.enabled(false);
}]);  

But nothing seems to happen. > is escaped by angular even with the so called sce app wide disablement. I can't seem to find anything besides the $sceProvider that could stop angular auto encoding html entities.

0

There are 0 answers