title: injecting an $element in angular-ui router
body: <p>I'm trying to get access to the dom element ($element) from the controller, but get an 'unknown provider' error (Unknown provider: $elementProvider &lt;- $element)</p>
  
  <p>Here's the code:</p>
  
  <pre><code> CatalogController = function($scope, $state,$http,$element) {
      console.log('CatalogController',$scope.$id,'parent:',$scope.$parent.$id);
  
  }
  appModule.config(function($stateProvider) {
      $stateProvider.state('catalog1', {
          url: '/catalog',
          views: {
              'catview':{
                  templateUrl: 'partials/catalog.html',
                  controller: [        '$scope', '$state','$http','$element',CatalogController ]
              }
          }
      });
  })
  </code></pre>
  
  <p>The injection of $http is fine.</p>
  
  <p>Any ideas?</p>