
Security Fundamentals
Turtles, Clams, and Cyber Threat Actors: Shell Usage
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
angular-paginator
Advanced tools
Pagination for Angular application using Bootstrap-4 template
Install via Package managers such as npm or yarn
npm install angular-paginator --save
# or
yarn add angular-paginator
Import angular-paginator
module
import { AngularPaginatorModule } from 'angular-paginator';
@NgModule({
imports: [ AngularPaginatorModule ]
})
Import bootstrap-4 into your application
Then in HTML
<div *ngFor="let item of array | angularPaginator: { currentPage: currentPage }; let i = index">
{{(currentPage - 1) * itemsPerPage + i +1}}. {{item}}
</div>
<app-angular-paginator (pageChange)="currentPage = $event"></app-angular-paginator>
angularPaginator pipe accepts
{
id: 'ANGULAR_PAGINATOR_DEFAULT',
itemsPerPage: 10,
currentPage: currentPage
}
Paginator component accepts
<app-angular-paginator [boundaryLinks]="false"
[directionLinks]="true"
maxSize="5"
[rotate]="true"
[boundaryLinkNumbers]="false"
[forceEllipses]="false"
size="sm"
id="ANGULAR_PAGINATOR_DEFAULT"
firstText="First"
previousText="Previous"
nextText="Next"
lastText="Last"
screenReaderFirstText="First"
screenReaderPreviousText="Previous"
screenReaderNextText="Next"
screenReaderLastText="Last"
screenReaderPageText="Page"
screenReaderCurrentPageText="You`re on page"
screenReaderPaginationLabel="Pagination"
className="ANGULAR_PAGINATOR_DEFAULT"
[autoHide]="false"
[disabled]="false"
(pageChange)="currentPage = $event">
</app-angular-paginator>
sm
or lg
. Check Bootstrap 4 docs for more details.Demo at stackblitz angular-paginator
Documentation is auto-generated using compodoc, and can be viewed here: https://sibiraj-s.github.io/angular-paginator/
FAQs
Pagination for Angular Applications
The npm package angular-paginator receives a total of 369 weekly downloads. As such, angular-paginator popularity was classified as not popular.
We found that angular-paginator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security Fundamentals
The Socket Threat Research Team uncovers how threat actors weaponize shell techniques across npm, PyPI, and Go ecosystems to maintain persistence and exfiltrate data.
Security News
At VulnCon 2025, NIST scrapped its NVD consortium plans, admitted it can't keep up with CVEs, and outlined automation efforts amid a mounting backlog.
Product
We redesigned our GitHub PR comments to deliver clear, actionable security insights without adding noise to your workflow.