title: AngularJs ReferenceError: $http is not defined
body: <p>I have the following Angular function:</p>
  
  <pre><code>$scope.updateStatus = function(user) {    
      $http({
          url: user.update_path, 
          method: "POST",
          data: {user_id: user.id, draft: true}
      });
  };
  </code></pre>
  
  <p>But whenever this function is called, I am getting <strong><code>ReferenceError: $http is not defined</code></strong> in my console. Can someone help me understanding what I am doing wrong here?</p>