Angular — Using component-level scoped service to communicate between parent and children

<google-map [key]="apiKey">
<google-map-marker *ngFor="let marker of markers"
[lat]="marker.lat"
[lng]="marker.lng">
</google-map-marker>
</google-map>

--

--

--

Web developer from Hong Kong. Most interested in Angular and Vue. Currently working on a Nuxt.js + NestJS project.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Drawer Navigation for React Native with React Native Elements

The Tortoise and the Hare

Largest Square of 1's- Dynamic Programming Solution

Next.js — Setting up a Redux store with combineReducers()

BlogPost_303

Unknown vs Any in TypeScript

Introduction to React JS

JSON Web Tokens (JWTs), what they are and if you should use them

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Liu Ting Chun

Liu Ting Chun

Web developer from Hong Kong. Most interested in Angular and Vue. Currently working on a Nuxt.js + NestJS project.

More from Medium

Angular Vs React Js — The Pros and Cons

Lesson 8 : Custom Directive

NgStyle in Angular with example

The Pros and Cons of Angular vs React JS