Top "Angular5" questions

Questions about Angular version 5, the web framework from Google.

what does the multi: true attribute of HTTP_INTERCEPTORS mean?

I'm new to Angular and I've just built an interceptor. According to multiple tutorials you have to include the HTTP_…

angular angular5 angular-http-interceptors
Angular Service Worker, caching api calls for offline app

I'm trying to make the service worker in angular work with API requests. I'd like the app to work offline …

javascript angular service-worker angular5 angular-service-worker
Font Awesome 5 and Angular 5

I was using font-awesome npm package (which is Font Awesome 4.7 version) but I want to upgrade to Font Awesome 5. I've …

angular angular5 font-awesome font-awesome-5
How can I disable AOT in angular2?

I got something like this: ng build --prod --no-aot But I am not able to understand what is the difference …

angular build angular5 angular6 angular2-aot
Angular Service Worker - Failed to load resource: the server responded with a status of 504 (Gateway Timeout)

I am using the Angular-CLI 1.6.6 and @angular/service-worker 5.2.5 in our Angular 5.2.5 app. Everything works fine on the local lite-server, as …

angular angular-cli angular5 service-worker angular-service-worker
Angular 2 routerLink params & query params

Here is my route: { path: 'market/:currency', component: MainlayoutComponent, canActivate: [AuthGuard]} I want redirect to with query params like this: …

angular typescript angular2-routing angular5 angular4-router
Error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value

I'm using an auth guard in angular 5 to check if the user should be able to navigate to a specific …

angular typescript rxjs angular5 subscribe
@ngx-translate with lazy-loaded module in Angular 5

I'm using @ngx-translate for language handling in an Angular 5 app I'm creating. The app has two feature modules, one lazy …

angular5 ngx-translate
Filtering Data Table in PrimeNG

How can I get the number of rows after filtering using PrimeNG's default filters in data table. [totalRecords]="totalRecords" always …

angular5 primeng primeng-datatable
Angular 5 service replacement/override

I created a core library for my project containing some components and services. I built the library with ng-packagr. In …

javascript angular angular-cli angular5 ng-packagr