title: EmberJs using inject.controller to access parent data
body: <p>I am trying to access from a child template to its parent data
  in the previous versions of emberjs this could have be done using the needs keyword:</p>
  
  <pre><code>app.RepositoriesController = Ember.Controller.extend({
      needs: "user",
      user : Ember.computed.alias("controllers.user");
   });
  </code></pre>
  
  <p>from what I understand with the new ember version this should be done like the following (as the needs keywords became deprecated):</p>
  
  <pre><code>app.RepositoriesController = Ember.Controller.extend({
      user: Ember.inject.controller('user')
  });
  </code></pre>
  
  <p>but it doesn't seems to work in my html code I use the following line which is blank:</p>
  
  <pre><code>{{user.name}}
  </code></pre>
  
  <p>Thanks! </p>