title: Read multiple values from Angular $injector using array destructuring
body: <p>I have this:</p>
  
  <pre><code>beforeEach(inject(function ($injector, CategoryService) {
  
    CategoryService.create = function () {
      return Promise.resolve({});
    };
  
    const $compile = $injector.get('$compile');
    const $rootScope = $injector.get('$rootScope');
    const $templateCache = $injector.get('$templateCache');
  
  }));
  </code></pre>
  
  <p>I am wondering if there is a way to do something like this:</p>
  
  <pre><code>beforeEach(inject(function ($injector, CategoryService) {
  
    CategoryService.create = function () {
      return Promise.resolve({});
    };
  
    const [$compile, $rootScope, $templateCache] = $injector.get('$compile','$rootScope','$templateCache');
  
  }));
  </code></pre>