title: AngularJS: Cannot reach variable in the controller after ui-router resolving
body: <p>I have following code in config. I use <code>ui-router</code></p>
  
  <pre><code>template: "&lt;employee-info-component user='$resolve.user'&gt;&lt;/employee-info-component&gt;",
        resolve: {
             user: function () {
                  return 'hello!';
             }
        }
  </code></pre>
  
  <p>binding in component:</p>
  
  <pre><code>binding:{
      user: '&lt;'
  }
  </code></pre>
  
  <p>I can not reach <code>$ctrl.user</code> in controller of <code>employee-info-component</code>. What I am doing wrong? </p>