https://crocsbootsbestcheapprice.blogspot.com/2024/06/angularjs-directive-destroy.html
Angularjs Directive $destroy