title: GET is not defined
body: <p>I am calling values form file written in php using ajax call in angular, the code is .. </p>
  
  <pre><code>  var occurence = $http({
    url:'getSelectFields_api.php',
    method: GET,
    params:{"api":"TRUE",
               "functionName" : "getFields" ,
                "field_id":"occur",
               "list_id":"occurrence",
               "empty_title":"SKIP",
               "data_type":1,}
  
  }).success(function(data){
  
       $scope.occurences =data;
       console.log(occurences);
       });
  </code></pre>
  
  <p>and in the console what i'm getting is 'GET is not defined ......' Please guide me .. 
  Thanks ...</p>