What are the various security contexts in Angular?
Angular defines the following security contexts for sanitization,
- HTML: It is used when interpreting a value as HTML such as binding to innerHtml.
- Style: It is used when binding CSS into the style property.
- URL: It is used for URL properties such as
<a href>
. - Resource URL: It is a URL that will be loaded and executed as code such as
<script src>
.
August 24, 2022
179
Read more
What is Angular Framework?
November 04, 2022
AngularWhat is a Angular module?
November 03, 2022
AngularWhat are the steps to use animation module?
October 31, 2022
Angular