Is it possible to completely disable sanitizingof HTML?
What I want to achieve is to have in my controller:
$scope.greeting = '<h2>Hello World</h2>'
And in my view
{{greeting}}
I cannot (and dont want to) use ng-bind-html and such, I want to disable sanitizing all together.
Just to give some more context - I am preparing simple "framework wrap around" for developing a template for specific system.
When you develop template for this system, they have pre-defined snippets that you can place on your page by writing "{{something}}" but it is not running on angular (probably mustache or something).
Now the template can be developed only online and it is VERY user-unfriendly proccess. Therefore I setup simple project in angular with corresponding routes etc, so everyone can develop the template on their machine and then simply copy it over to the system.
That is why in the template files it shouldnt be noticable that its done in angular, it just be as close to their system as possible.
One last note - I did try:
myApp.config(['$sceProvider',function($sceProvider){
$sceProvider.enabled(false);
}]);
Didn't do anything for me