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

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -