MCPcopy Create free account
hub / github.com/angular/examples / constructor

Method constructor

walk-my-dog/src/app/dog-view.component.ts:55–55  ·  view source on GitHub ↗
(private dogsService: DogsService, private route: ActivatedRoute)

Source from the content-addressed store, hash-verified

53 dog$!: Observable<Dog | undefined>;
54
55 constructor(private dogsService: DogsService, private route: ActivatedRoute) { }
56
57 ngOnInit(): void {
58 this.dog$ = this.route.paramMap.pipe(map(params => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected