angularjs - Do I still need ngSanitize if I'm not going to use ng-bind-html? -


my questions are:

  1. do still need ngsanitize if i'm not going use ng-bind-html? if yes, why?
  2. is used anywhere else other ng-bind-html?
  3. does ngsanitize affect way dom input elements affect underlying model through ng-model?

1) yes will. ng-bind-html use $sanitize , requires have ngsanitize available.

2) probably

3) not work ng-model (why ng-bind-html , $sanitize produce different results?)


Comments

Popular posts from this blog

4x4 Matrix in Python -

python - String indices must be integers and while issue -

wso2is - WSO2 IS 5.0.0 SP1 After restart there is authentication error -