The code below was used to display three database content post/rows using angularjs. Each displayed rows/data has ReadMore or ReadLess button attached to it.

The Issue am having now is that when I click on readmore button of the first post, it expands all the other database rows/post(ie Second and Third rows/post were also expanded).

I have taught of adding something like `{{post.id}}` to ensure that only the click Readmore post gets affected but do not know where it can be implemented. can someone help me with that.

```html
<!doctype html>
<html>

<head>
  <link href="style.css" type="text/css" rel="stylesheet" />

  <!--read more text starts here-->

  <!--read more text ends-->

</head>

<body ng-app='myapp'>
  <div class="content" ng-controller='fetchCtrl'>
    <div class="post" ng-repeat='post in posts'>

      <h1>{{ post.title }}</h1>
      {{ post.id }}<br> 
      {{ post.content | limitTo:numLimit }}
      <div class="post-text">

        <button type='button' ng-click="readMore()">read more</button>
        <button type='button' ng-click="readLess()">read less</button>

      </div>
    </div>
  </div>

  <!-- Script -->
  <script src="angular.min.js"></script>
  <script>
    var fetch = angular.module('myapp', []);
    fetch.controller('fetchCtrl', ['$scope', '$http', function($scope, $http) {

        // read more or less text starts here
        $scope.numLimit = 200;
        $scope.readMore = function() {
          $scope.numLimit = 10000;
        };

        $scope.readLess = function() {
          $scope.numLimit = 200;
        };

        // // read more or less text ends here

        // Fetch post data
        $scope.getPosts = function() {

          $http({
            method: 'post',
            url: 'likeunlike.php',
            data: {
              request: 1
            }
          }).then(function successCallback(response) {

            $scope.posts = response.data;
          });
        }
        $scope.getPosts(); // Fetch post data
      }
    ]);
  </script>

</body>

</html>
```