code: function executeHooks(data, allHooks, checkHooks, creationMode) {
      var hooksToCall = creationMode ? allHooks : checkHooks;
      if (hooksToCall) {
          callHooks(data, hooksToCall);
      }
  }
docs: Iterates over afterViewInit and afterViewChecked functions and calls them.
  
  @param currentView The current view