code: function executeOnDestroys(view) {
      var tView = view[TVIEW];
      var destroyHooks;
      if (tView != null && (destroyHooks = tView.destroyHooks) != null) {
          callHooks(view[DIRECTIVES], destroyHooks);
      }
  }
docs: Calls onDestroy hooks for this view