$sce to be in effect only when ngSanitize is not present

When $sce.trustAsHtml is called alongside ngSanitize module, an exception is thrown around. The easiest workaround I see it not to use $sce when ngSanitize is present and let it handle all the sanitization.