title: Different ways to initialize AngularJS Controllers?
body: <p>I've been seeing these two ways to initialize controllers.</p>
  
  <p><strong>First Way:</strong></p>
  
  <pre><code>app.controller('Ctrl', ['$scope', '$http', 'Api', function($scope, $http, Api) {}]);
  </code></pre>
  
  <p><strong>Second Way:</strong></p>
  
  <pre><code>app.controller('Ctrl', function($scope, $http, Api) {}]);
  </code></pre>
  
  <p>Are there any differences between these two? If not, which one is the "best practice"?</p>