title: Difference when injecting dependencies on angularjs (with list and parameters)
body: <p>I have the following question that I can't find what way is better. When doing dependency injection on AngularJS, what is the difference between these alternatives:</p>
  
  <pre><code>app.controller(‘controllerName’, [‘service1’, ‘service2’, function(service1, service2){…}])
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>app.controller(‘controllerName’, function(service1, service2){…})
  </code></pre>
  
  <p>I think that the second one is much better because it does not inject the dependency twice, but does have any negative situation? Is the first one contribute with something that the second one not?</p>