{{(selectedRentinggrade.FlatRenting | percent)}}
\r\n{{(selectedRentinggrade.StorageRenting | percent)}}
\r\n{{(selectedRentinggrade.ParkingLotRenting | percent)}}
\r\n{{selectedRentinggrade.RentingChanges}}
\r\nsettings works!
\r\n","import { Injectable } from '@angular/core';\r\nimport { Router, CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';\r\n\r\nimport { AuthService } from './auth.service';\r\n\r\n@Injectable()\r\nexport class AuthGuard implements CanActivate {\r\n\r\n constructor(private router: Router, private authService: AuthService) { }\r\n\r\n canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): boolean {\r\n if (this.authService.isAuthenticated()) { return true; }\r\n this.authService.login();\r\n return false;\r\n }\r\n}\r\n","import { HTTP_INTERCEPTORS } from '@angular/common/http';\r\nimport { Injectable } from '@angular/core';\r\nimport { HttpInterceptor, HttpHandler, HttpRequest } from '@angular/common/http';\r\n\r\nimport { AuthService } from './auth.service';\r\n\r\nconst TOKEN_HEADER_KEY = 'Authorization';\r\n\r\n@Injectable()\r\nexport class AuthInterceptor implements HttpInterceptor {\r\n\r\n constructor(private authService: AuthService) { }\r\n\r\n intercept(req: HttpRequest