@angular/platform-browser#Meta TypeScript Examples
The following examples show how to use
@angular/platform-browser#Meta.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: emote.component.ts From App with MIT License | 6 votes |
constructor(
@Inject(DOCUMENT) private document: Document,
private metaService: Meta,
private restService: RestService,
private route: ActivatedRoute,
private router: Router,
private cdr: ChangeDetectorRef,
private dialog: MatDialog,
private appService: AppService,
private emoteListService: EmoteListService,
private dataService: DataService,
public themingService: ThemingService,
public clientService: ClientService
) { }
Example #2
Source File: user.component.ts From App with MIT License | 6 votes |
constructor(
@Inject(DOCUMENT) private document: Document,
private router: Router,
private route: ActivatedRoute,
private appService: AppService,
private loggerService: LoggerService,
private restService: RestService,
private metaService: Meta,
private dataService: DataService,
private cdr: ChangeDetectorRef,
public clientService: ClientService,
public themingService: ThemingService
) { }
Example #3
Source File: lists.effect.ts From spurtcommerce with BSD 3-Clause "New" or "Revised" License | 6 votes |
constructor(
private actions$: Actions,
private authApi: ListsService,
private appState$: Store<store.AppState>,
public snackBar: MatSnackBar,
public title: Title,
private meta: Meta,
@Inject(PLATFORM_ID) private platformId: Object
) {}
Example #4
Source File: seo.service.ts From scully-plugins with MIT License | 5 votes |
constructor(private meta: Meta, private title: Title) {}
Example #5
Source File: layout.effects.ts From spurtcommerce with BSD 3-Clause "New" or "Revised" License | 5 votes |
constructor(
private actions$: Actions,
private authApi: LayoutsService,
private appState$: Store<store.AppState>,
public title: Title,
private meta: Meta
) {}
Example #6
Source File: seo.service.ts From tiepphan with MIT License | 5 votes |
constructor(
private readonly meta: Meta,
private readonly title: Title,
// tslint:disable-next-line: variable-name
@Inject(DOCUMENT) private readonly _document: Document,
) {
}