ngx-pagination
ngx-pagination copied to clipboard
NullInjectorError: No provider for PaginationService!
Angular version: "@angular/cdk": "^9.0.0",
ngx-pagination version: "ngx-pagination": "^5.0.0",
Description of issue:
I already have a module using ngx-pagination, when I create other module to use ngx-pagination into a new component I got this error ERROR Error: NullInjectorError: No provider for PaginationService!`
Steps to reproduce: Import ngx-module but error appears
Where I should import PaginationService ?
Greetings
Hi,
Please provide at least some code of your NgModule where you are using this library.
I have the same issue but using ngx-easy-table.
I have the same issue but using ngx-easy-table.
You need to import 'TableModule' in the app.module.ts as well as any other specific modules making use of the library,