title: Receiving Uncaught SyntaxError: missing ) after argument list
body: <p>I'm trying to pass my task object to the controller and If I go like this:</p>
  
  <pre><code>var task = Task.save(task: {user_id: $scope.user.id}, $scope.newText);
  </code></pre>
  
  <p>I'm getting an error saying <code>Uncaught SyntaxError: missing ) after argument list</code>. What's wrong with the code? Thanks in advance.</p>