parent
ad7046b934
commit
a9910f5991
@ -430,7 +430,7 @@ Angular does something similar with the `DOCUMENT` token so you can inject the b
|
|||||||
|
|
||||||
```ts
|
```ts
|
||||||
import { Inject } from '@angular/core';
|
import { Inject } from '@angular/core';
|
||||||
import { DOCUMENT } from '@angular/platform-browser';
|
import { DOCUMENT } from '@angular/common';
|
||||||
|
|
||||||
@Component({ ... })
|
@Component({ ... })
|
||||||
export class MyComponent {
|
export class MyComponent {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user