title: Get Json Data From Asp.Net Webmethod and Consume in angularJS
body: <p>Can any one guide me how to get json data from asp.net webmethod, and consume it in angularJS.</p>
  
  <pre><code>app.controller('MainController', ['$scope', function ($scope, $http) { 
      try { 
      $http({ method: 'GET', url: 'ProblemList.aspx/GetProblemList' })
  .success(function (data, status, headers, config) { 
      alert(data); }).error(function (data, status, headers, config) { 
      }); 
      } catch (e) { 
      throw e; 
      } 
  </code></pre>