Good question! Theoretically, I thought that adding this line under the "angular.module" line would add it globally for Angularjs 1.6.10 (https://code.angularjs.org/1.6.10/docs/api/ngSanitize/provider/$sanitizeProvider):
.config(['$sanitizeProvider', function($sanitizeProvider) { $sanitizeProvider.addValidAttrs(['aria-hidden']); }])
But it doesn't work?
Good question! Theoretically, I thought that adding this line under the "angular.module" line would add it globally for Angularjs 1.6.10 (https:/ /code.angularjs .org/1. 6.10/docs/ api/ngSanitize/ provider/ $sanitizeProvid er):
.config( ['$sanitizeProv ider', function( $sanitizeProvid er) { ovider. addValidAttrs( ['aria- hidden' ]);
$sanitizePr
}])
But it doesn't work?