https://bit.ly/31gYh2t
CTO @ Studytube
Google Developer Expert at Angular
Angular Kharkiv(Ukraine) Meetup organizer
Dutch Angular Group co-organizer
Angular Workshops on learn.javascript.ru
import { CookieService } from 'ngx-cookie-service';
@NgModule({
...
providers: [CookieService],
...
})
constructor(
private cookieService: CookieService){
this.cookieService.set('Test', 'Hello World');
this.cookieValue = this.cookieService.get('Test');
}
SEO
First screen
Social friendly preview
import { Request } from 'express';
import { REQUEST } from '@nguniversal/express-engine/tokens';
...
constructor(
@Optional() @Inject(REQUEST) private request: Request
) {
...
this.request?.headers.cookie
are are looking for Angular Superstarts!