I am new to Angular and would appreciate if someone could help me add pagination to a table. I created a CRUD project, where the backend was done in Spring boot and the frontend in Angular. To do the layout I would like to use bootstrap directly, without going to create the specific code in springboot for the layout, then work directly in Angular. I've seen some online, but couldn't find a simple thing in my case. This is my html code related to the table of interest:
<div class="panel-heading"> <h1 style="text-align: center">Students</h1><br> <div class="form-group"> <input type="text" class="form-control search-input" placeholder="Search..." [(ngModel)]="filterTerm"> </div> <div class="panel-body"> <table class="table table-hover table-sm"> <thead class="thead-light"> <tr> <th>Student code</th> <th>Student name</th> <th>Student date</th> <th>Action</th> </tr> </thead> <tbody> <tr *ngFor="let student of students| filter:filterTerm"> <td>{{student.codestudent}}</td> <td>{{student.namestudent}}</td> <td>{{student.datestudent}}</td> <td><button (click)="deleteStudent(student.codestudent)" class='btn btn-primary'><i class="fa fa-futboll-0">Delete</i></button> </td> </tr> </tbody><br> </table> </div> Can anyone kindly help me? I thank you infinitely.