hunk.code_window: import angular from 'angular';
   class LogoutController {
     /* @ngInject */
     constructor($async, $state, $transition$, $window, Authentication, StateManager, Notifications, LocalStorage, SettingsService, ThemeManager) {
       this.$async = $async;
       this.$state = $state;
       this.$transition$ = $transition$;
       this.$window = $window;
  
hunk.labels: keep keep keep keep replace keep keep keep keep keep
hunk.after_edit:   constructor($async, $state, $transition$, $window, Authentication, StateManager, Notifications, LocalStorage, SettingsService) {
  
hunk.file_path: app/portainer/views/logout/logoutController.js
hunk.type: replace
file: import angular from 'angular';
  
  angular.module('portainer.kubernetes').factory('KubernetesNodesLimits', KubernetesNodesLimitsFactory);
  
  /* @ngInject */
  function KubernetesNodesLimitsFactory($resource, API_ENDPOINT_KUBERNETES, EndpointProvider) {
    const url = API_ENDPOINT_KUBERNETES + '/:endpointId/nodes_limits';
    return $resource(
      url,
      {
        endpointId: EndpointProvider.endpointID,
      },
      {
        get: {
          method: 'GET',
          ignoreLoadingBar: true,
          transformResponse: (data) => ({ data: JSON.parse(data) }),
        },
      }
    );
  }
  