Getting Unexpected token in JSON error while using Angular.js
<p>I have an error. I am getting the following error while calling json data using <code>$http</code> in Angular.js. </p>

<p>Error:  </p>

<pre><code>  SyntaxError: Unexpected token 
    in JSON at position 991
    at Object.parse (native)
        at Object.parse (native)
        at wc (https://code.angularjs.org/1.5.6/angular.min.js:17:36)
        at dc (https://code.angularjs.org/1.5.6/angular.min.js:91:424)
        at https://code.angularjs.org/1.5.6/angular.min.js:92:337
        at q (https://code.angularjs.org/1.5.6/angular.min.js:7:355)
        at gd (https://code.angularjs.org/1.5.6/angular.min.js:92:319)
        at c (https://code.angularjs.org/1.5.6/angular.min.js:94:72)
        at https://code.angularjs.org/1.5.6/angular.min.js:130:409
        at m.$eval (https://code.angularjs.org/1.5.6/angular.min.js:145:107)
        at m.$digest (https://code.angularjs.org/1.5.6/angular.min.js:142:173
)
</code></pre>

<p>I am providing my code below.</p>

<p>customer.json:</p>

<pre><code>[
  {
    "rest_name": "Anjum",
    "id":"1",
     "address":"Goa",
     "city":"1",
     "country":"India",
    " date":"2016-07-05 11:39:04",
     "image":"",
     "member_id":"135",
     "mobile":"9937229853",
     "person":"Subhrajyoti pradhan",
     "postal":"752109",
     "premium":"1",
     "proviance":"Goa",
     "quad_id":"3",
     "quadrant":"3",
     "quadrant_name":"SW",
     "status":"1",
     "url":"http://orimark.com"
  },{
   " rest_name": "A&amp;P Chinese Food Express",
     "id":"2",
     "address":"Goa",
     "city":"1",
     "country":"India",
    " date":"2016-07-05 11:39:04",
     "image":"",
     "member_id":"135",
     "mobile":"9937229853",
     "person":"Subhrajyoti pradhan",
     "postal":"752109",
     "premium":"1",
     "proviance":"Goa",
     "quad_id":"3",
     "quadrant":"3",
     "quadrant_name":"SW",
     "status":"1",
     "url":"http://orimark.com"
  },{
   " rest_name": "Bookers BBQ &amp; Crab Shack",
     "id":"3",
     "address":"Goa",
     "city":"1",
     "country":"India",
    " date":"2016-07-05 11:39:04",
     "image":"",
     "member_id":"135",
     "mobile":"9937229853",
     "person":"Subhrajyoti pradhan",
     "postal":"752109",
     "premium":"1",
     "proviance":"Goa",
     "quad_id":"3",
     "quadrant":"3",
     "quadrant_name":"SW",
     "status":"1",
     "url":"http://orimark.com"
  },{
    "rest_name": "Butcher And The Baker",
     "id":"4",
     "address":"Goa",
     "city":"1",
     "country":"India",
    " date":"2016-07-05 11:39:04",
     "image":"",
     "member_id":"135",
     "mobile":"9937229853",
     "person":"Subhrajyoti pradhan",
     "postal":"752109",
     "premium":"1",
     "proviance":"Goa",
     "quad_id":"3",
     "quadrant":"3",
     "quadrant_name":"SW",
     "status":"1",
     "url":"http://orimark.com"
  },{
    "rest_name": "Cactus Club Stephen Avenue",
     "id":"5",
      "address":"Goa",
     "city":"1",
     "country":"India",
    " date":"2016-07-05 11:39:04",
     "image":"",
     "member_id":"135",
     "mobile":"9937229853",
     "person":"Subhrajyoti pradhan",
     "postal":"752109",
     "premium":"1",
     "proviance":"Goa",
     "quad_id":"3",
     "quadrant":"3",
     "quadrant_name":"SW",
     "status":"1",
     "url":"http://orimark.com"
  },{
    "rest_name": "Cactus Club - Macleod Trail",
    " id":"6",
      "address":"Goa",
     "city":"1",
     "country":"India",
    " date":"2016-07-05 11:39:04",
     "image":"",
     "member_id":"135",
     "mobile":"9937229853",
     "person":"Subhrajyoti pradhan",
     "postal":"752109",
     "premium":"1",
     "proviance":"Goa",
     "quad_id":"3",
     "quadrant":"3",
     "quadrant_name":"SW",
     "status":"1",
     "url":"http://orimark.com"
  }
  ]
</code></pre>

<p>My controller side code is given below.</p>

<pre><code> $http.get('customer.json').success(function(data) {
    console.log('data',data);
    $scope.listOfCustomerData=data;
  })
</code></pre>

<p>My view code is given below.</p>

<pre><code>&lt;tbody id="detailsstockid"&gt;
      &lt;tr dir-paginate="cus in ($parent.labelResults=(listOfCustomerData  | filter:searchProduct.rest_name:startsWith | orderBy:'rest_name')) | itemsPerPage:5 track by $index" current-page="currentPage"&gt;
        &lt;td&gt;{{$index+1}}&lt;/td&gt;
        &lt;td&gt;{{cus.rest_name}}&lt;/td&gt;
      &lt;/tr&gt;
    &lt;/tbody&gt;
</code></pre>