diff --git a/dmp-frontend/src/app/app.module.ts b/dmp-frontend/src/app/app.module.ts index d95a89b22..1c0deaccf 100644 --- a/dmp-frontend/src/app/app.module.ts +++ b/dmp-frontend/src/app/app.module.ts @@ -18,6 +18,7 @@ import { AuthGuard } from './guards/auth.guard'; import { PageNotFoundComponent } from './not-found.component'; import { TocComponent } from './form/tableOfContents/toc.component'; import { ProjectsModule } from './projects/project.module'; +import { PaginationService } from './services/pagination.service'; @NgModule({ declarations: [ @@ -40,7 +41,7 @@ import { ProjectsModule } from './projects/project.module'; AppRoutingModule ], - providers: [ServerService, dataModelBuilder, AuthGuard], + providers: [ServerService, dataModelBuilder, AuthGuard, PaginationService], bootstrap: [AppComponent] }) export class AppModule { diff --git a/dmp-frontend/src/app/form/dynamic-form.component.html b/dmp-frontend/src/app/form/dynamic-form.component.html index 6fb122208..45f1f29b9 100644 --- a/dmp-frontend/src/app/form/dynamic-form.component.html +++ b/dmp-frontend/src/app/form/dynamic-form.component.html @@ -47,7 +47,28 @@ +
+

Angular 2 - Pagination Example with logic like Google

+ + +