title: coffeescript error: 'unexpected .' for console.log
body: <p>Have no idea why I am getting this error but my code:</p>
  
  <pre><code>angular.module('authAppApp')
    .factory 'AuthService', (Session) -&gt;
      # Service logic
      # ...
  
  
  
      # Public API here
      {
        login: (creds)-&gt;
  
  
          res =  
                id: 1, 
                user: 
                  id: 1,
                  role: "admin"
  
  
  
              Session.create(res.id, res.user.id, res.user.role)
              return 
  
  
      }
  </code></pre>
  
  <p>Error:</p>
  
  <pre><code>[stdin]:30:14: error: unexpected .
              Session.create(res.id, res.user.id, res.user.role)
               ^
  </code></pre>
  
  <p>This also happens with <code>console.log</code>
  Why?</p>