title: String instead of data
body: <p>I'm trying to get data from the controller
  something like this:</p>
  
  <pre><code>public IEnumerable&lt;Custom&gt; Search(string searchText = "")
      {
          return new[] { new Custom { Name = "a", Id = 1 }, new Custom { Name = "b", Id = 1 }, new Custom { Name = "c", Id = 3 } };
      }
  </code></pre>
  
  <p>But angular gives me this </p>
  
  <blockquote>
    <p>m
    u
    s
    i
    c
    p
    o
    r
    t
    a
    l
    .
    C
    o
    n
    t
    r
    o
    l
    l
    e
    r
    s
    .
    C
    u
    s
    t
    o
    m
    [
    ]</p>
  </blockquote>
  
  <p>I tried add http.headers but nothing.
  My code:</p>
  
  <pre><code>var musicportal = angular.module('musicportal', []);
  
  musicportal.controller('SearchController', ['$scope', '$http', function ($scope, $http) {
  $scope.answer = "awesome";
  
  $scope.search = function (text) {
      $scope.answer = text;
      $scope.pms = [];                  
      $http.post('/Home/Search', { searchText: text }).
          success(function (data, status, headers, config) {              
              $scope.pms = data;
          });
      $scope.searchText = "";
  }
  }]);
  </code></pre>