title: TypeError: Cannot read property 'get' of undefined
body: <pre><code>$http.get('/contactList').
  success(function(data){
      console.log('got http get');
  }).
  error(function(data) {
      $scope.error = true;
      $scope.data = data;
      return 'error name';
  });
  </code></pre>
  
  <p>I have an error with just this section of code. I am trying to use the <code>$http.get</code> function with Angular JS. Am I doing something wrong?</p>
  
  <p>I keep getting an error.</p>