title: $log (or other services inside AngularJS directives)
body: <p>I have the following directive I use to initialize the <a href="http://timeago.yarp.com/" rel="nofollow">timeago</a> plugin.</p>
  
  <pre><code>Directives.directive('timeago', function() {
     return function(scope, element, attrs) {
         $(element).attr('title', scope.post.utc_posted);
         $(element).timeago();
     }
  });
  </code></pre>
  
  <p>How could I use/pass <code>$log</code> inside the function I'm returning?</p>