<!-- Left Navbar -->
<div class="container-fluid" style="margin-top: 50px">
<div class="row">
<div class="col-sm-3 col-md-2 sidebar">
<ul ng-repeat="type in types" class="nav nav-sidebar">
<li>{{type}}</li>
<li ng-repeat="sensor in sensors | filter: { type: {{type}} }"><a href="#">{{sensor.name}}</a></li>
</ul>
</div>
</div>
I want to create a dynamic navigation bar using AngularJS, where each sensor type acts as a category and lists all related sensors. I have an array of sensors stored in the "sensors" scope variable and distinct sensor types in the "types" array.