Skip to content

Instantly share code, notes, and snippets.

@thisiszoaib
Created July 9, 2020 11:33
Show Gist options
  • Select an option

  • Save thisiszoaib/f145f6740b72a3bd88ec5fd8557224a4 to your computer and use it in GitHub Desktop.

Select an option

Save thisiszoaib/f145f6740b72a3bd88ec5fd8557224a4 to your computer and use it in GitHub Desktop.
Weather 4
@Component({
selector: "app-weather-report",
templateUrl: "./weather-report.component.html",
styleUrls: ["./weather-report.component.scss"]
})
export class WeatherReportComponent implements OnInit {
constructor(
private weatherService: WeatherService,
private route: ActivatedRoute
) {}
ngOnInit() {
// Our route params observable
this.route.params
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment