This is an angular 4 module that allows for adding a paginator to an existing angular app.
How To Use Module
You need to add a dependency in your package.json to "ng4-paginator"
In your app module add Ng4PaginatorModule to the imports:[]
add an import in your app module
import { Ng4PaginatorModule } from 'ng4-paginator';
In your component template add the following block:
<ng4-paginator totalRecords="this is the total number of records" pagesPerGroup="this is number of pages displayed at in the paginator" recordsPerPage="this is the number of records per page" (currentPageChanged)="onPageChanged($event)"></ng4-paginator>
In your component implement the onPageChanged($event) method that captures the page number user has selected.
How To Build Module
In order to build this code just browse to the directory where you've saved it and run "npm run build"