title: Decorator for Scope
body: <p>Is it possible, and if so how, to decorate <code>$scope</code> so all scopes have some extra function / property?</p>
  
  <p>I'm trying to do this:</p>
  
  <pre class="lang-js prettyprint-override"><code>$provide.decorator('$scope', function($scope)
  {
      $scope.cakes = true;
      return $scope;
  });
  </code></pre>
  
  <p>But it explodes with:</p>
  
  <blockquote>
    <p>Unknown provider: <code>$scopeProvider</code> from App.</p>
  </blockquote>
  
  <p>I <em>know</em> I can add properties and functions to the <code>$rootScope</code> and it will prototypically inherit, but I want isolated scopes in directives to also have access to these added things.</p>