title: Include roles in User.login() and User.getCurrent() Angular SDK
body: <p>I'm currently writing an administrative interface using the Loopback Angular SDK. After having dug through the documentation and code, I'm still no wiser as to how to include the user's roles in the response. It's causing me real headaches on the frontend because I'm not yet experienced enough with Angular to figure out how to enforce a role check on each of my states (I'm using UI-Router).</p>
  
  <p>client: /auth.js</p>
  
  <pre><code>        // Log the user in
          $scope.doAuth = function() {
  
              $scope.hasError = false;
              $scope.busy = true;
  
              $scope.loginResult = User.login({include: 'roles'}, $scope.credentials,
  
                  function wasSuccessfulAuth(authResponse) {
  
                      $scope.busy = true;
  
                      $rootScope.isAuthenticated = true;
                      $rootScope.user = authResponse.user;
  
                      $location.path('dashboard');
  
                  },
  
                  function wasFailedAuth(authResponse) {
  
                      $timeout(function() {
  
                          $scope.hasError = true;
                          $scope.authError = authResponse.data.error.message || 'Unknown error';
                          $scope.busy = false;
  
                      }, 1000);
  
                  }
  
              )
          }
  </code></pre>
  
  <p>server: /common/models/user.json</p>
  
  <pre><code>{
    "name": "user",
    "plural": "Users",
    "base": "User",
    "properties": {
  
    },
    "relations": {
      "roles": {
        "type": "belongsTo",
        "model": "RoleMapping",
        "foreignKey": "principalId"
      }
    },
    "acls": [],
    "methods": []
  }
  </code></pre>
  
  <p>So this works in the API explorer, I have the routes I'd expect with an object that has a relation, but I can't seem to get any further than that... All that gets returned is the standard user login stuff (id, accessToken, email, etc) The docs seem to run cold when I get this far but I'd have thought this would have been a common use case? </p>
  
  <p>This is a bit of a showstopper for me.</p>