DEV Community

Discussion on: Component Communication in Angular (Parent to Child & Child to Parent)

Collapse
anubhab5 profile image
Anubhab Mukherjee Author

Thanks a lot Gianni. You pointed out a mistake that I made while typing.
I have fixed it.
The updated code -
myFavoriteMovies = [ 'Encanto',
'Spider-Man: No Way Home',
"Harry Potter and the Sorcerer's Stone" ];

Please let me know if you still find the issue.

I would be happy to help...

Collapse
giacorsa profile image
Gianni

many thanks, now it works !! :-)