Angular — Using NgTemplateOutlet to communicate between parent and dynamic child components

<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

Javascript Map function

Coding Adventure 202 — Q&A

Difference between hard link and symbolic link

5 Killer JavaScript Functions for Efficient Development

Animating Your React Components

Why and How to implement Web Notification API.

Customizing Material-UI components

Angular Internationalization(Angular & i18n)

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

Update Angular 10 to 13

React to Angular: Use Redux for State Management in Angular with TypeScript

What is the difference between React and Angular?

Angular Best Practices — 2022

Angular