Category : mean-stack

i have created a table using mat table and I need to export only the current data shown in the page as csv {{‘Name’ | translate}} {{element.name}} <ng-container matColumnDef="email"> <th mat-header-cell *matHeaderCellDef mat-sort-header> {{‘Email’ | translate}} </th> <td mat-cell *matCellDef="let element"> {{element.email}} </td> <tr mat-header-row *matHeaderRowDef="displayedColumns"></tr> <tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr> </table> <div> <mat-paginator ..

Read more

I get this strange error after updating my angular app that says: "Consider using the @inject decorator to specify an injection token". Not sure how to do that. Can anyone tell me how EXACTLY should I inject it in my code? This is the error And this is clean code Source: Angular..

Read more