---
title: "How to use Ng-repeat inside ng-repeat in Angularjs"  
description: "How to use Ng-repeat inside ng-repeat in Angularjs"  
author: "Anonymous User"  
published: 2016-02-25  
updated: 2016-02-25  
canonical: https://www.mindstick.com/forum/34005/how-to-use-ng-repeat-inside-ng-repeat-in-angularjs  
category: "angular js"  
tags: ["jquery", "html", "angular js"]  
reading_time: 1 minute  

---

# How to use Ng-repeat inside ng-repeat in Angularjs

We want to use ng-[repeat](https://www.mindstick.com/forum/156775/give-an-example-of-the-linq-repeat-method) inside ng-repeat in Angularjs.how will do this please tell me.

## Replies

### Reply by Anonymous User

```
@{
    Layout = null;}
<!DOCTYPE html><html><head>      <title>Forum</title>    <meta name="viewport" content="width=device-width" />    <script src="~/Scripts/jquery-1.9.1.js"></script>    <script src="~/Scripts/angular.js"></script><script>    var app = angular.module("myApp", []);    app.controller('MyCtrl', function ($scope) {        $scope.menuItems = [{ Productname: 'Samsung Galaxy S6 Compare', category: 'SAMSUNG' },            { Productname: 'Samsung Galaxy S6 Edge', category: 'SAMSUNG' },             { Productname: 'Compare Samsung Galaxy Core ', category: 'SAMSUNG' },        { Productname: 'Lenovo Vibe Shot', category: 'Lenovo' },         { Productname: 'Lenovo A6000', category: 'Lenovo' },        { Productname: 'Lenovo K3 Note', category: 'Lenovo' }        ];
        $scope.categories = ['Lenovo', 'SAMSUNG']
    })
</script> </head><body ng-app="myApp" ng-controller="MyCtrl">  <div>  <ul ng-repeat="ca in categories">  <li style="font-weight:bold;">{{ca}}</li>  <li ng-repeat="menuItem in menuItems | filter:{category: ca}">{{menuItem.Productname}}</li>  </ul>  </div>  </body>  </html>
```

```

```


---

Original Source: https://www.mindstick.com/forum/34005/how-to-use-ng-repeat-inside-ng-repeat-in-angularjs

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
