ng-if causing directive to be reinitialized
When using ng-if in AngularJS, you might notice that a directive inside an ng-if block gets reinitialized every time the condition changes. This can lead to performance issues, data loss,….
When using ng-if in AngularJS, you might notice that a directive inside an ng-if block gets reinitialized every time the condition changes. This can lead to performance issues, data loss,….