title: ng -repeat repeating data with duplicate entries
body: <p>I'm trying to display a JSON data using AngularJS ng repeat but the records are getting duplicated. 
  <strong>Note:</strong> It works fine the very first time the page is loaded. When I try to reload the page the items get duplicated. </p>
  
  <p>Here is my JSON data:</p>
  
  <pre><code>    [{
      "EmployeeName": "Jishnu",
      "CategoryId": 0,
      "Points": 76,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "Sini",
      "CategoryId": 0,
      "Points": 56,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "Abhilash",
      "CategoryId": 0,
      "Points": 12,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "Abhilash",
      "CategoryId": 0,
      "Points": 10,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "abhila",
      "CategoryId": 0,
      "Points": 6,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "Ajay ",
      "CategoryId": 0,
      "Points": 5,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "Abel",
      "CategoryId": 0,
      "Points": 4,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "ABDUL",
      "CategoryId": 0,
      "Points": 3,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "Administrator",
      "CategoryId": 0,
      "Points": 2,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }, {
      "EmployeeName": "ABI",
      "CategoryId": 0,
      "Points": 1,
      "DateAdded": "/Date(-62135596800000)/",
      "DateModified": "/Date(-62135596800000)/",
      "Id": 0
  }]
  </code></pre>
  
  <p>Here is the AngularJS code:</p>
  
  <pre><code> angular.module('myApp', [])
   .controller('ReportCtrl', ['$scope', '$http', '$window', function($scope, $http, $window) {
  
       $scope.employeePoints = [];
       $scope.searchText = [];
  
  
       // $http starts here
  
       $http({
               // set the parameter for request
               method: 'POST',
               url: 'Report/GetEmployeePoints',
               headers: {
                   'Content-Type': 'application/json; charset=utf-8'
               },
               data: {}
           })
           .then(function(resp) {
  
                   // Success callback -- starts here
                   $scope.employeePoints = resp.data.response;
  
               },
               function(error) {
                   // Error callback
               });
  
  
  
   }]);
  </code></pre>
  
  <p>Here is the HTML code:</p>
  
  <pre><code> &lt;tr ng-repeat="point in employeePoints"&gt;
      &lt;td&gt;
          &lt;span class="name"&gt;{{point.EmployeeName}}&lt;/span&gt;
      &lt;/td&gt;
      &lt;td class="hidden-phone"&gt;
          {{point.Points}}
      &lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>Here is the console log data of the response from the web service:</p>
  
  <pre><code>[{"EmployeeName":"Jishnu","CategoryId":0,"Points":76,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":280},{"EmployeeName":"Sini","CategoryId":0,"Points":56,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":78},{"EmployeeName":"Abhilash","CategoryId":0,"Points":12,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":100},{"EmployeeName":"Abhilash","CategoryId":0,"Points":10,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":72},{"EmployeeName":"abhila","CategoryId":0,"Points":6,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":323},{"EmployeeName":"Ajay ","CategoryId":0,"Points":5,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":97},{"EmployeeName":"Abel","CategoryId":0,"Points":4,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":297},{"EmployeeName":"ABDUL","CategoryId":0,"Points":3,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":14},{"EmployeeName":"Administrator","CategoryId":0,"Points":2,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":1},{"EmployeeName":"ABI","CategoryId":0,"Points":1,"DateAdded":"/Date(-62135596800000)/","DateModified":"/Date(-62135596800000)/","Id":178}]
  </code></pre>