title: ReferenceError: $http is not defined Angularjs
body: <p>I keep getting this error even though i injected $http in my controller.</p>
  
  <pre><code>app.controller('myCtrl', ['$scope', '$http', function($scope, $http) {
      $scope.user = {
          name: '',
          address: '',
          email: '',
          date: '',
          time: '',
          phone: '',
          zipcode: 0,
      };
  }]);
  </code></pre>
  
  <p>and when i try to post an <code>http</code>request on this code</p>
  
  <pre><code>$scope.reserve = function() {
     $http.post('/user'
         $scope.user).success(function(response) {
         console.log(response);
     });
  }
  </code></pre>
  
  <p>It is giving me <strong>$http is not defined</strong> error.</p>