Skip to content

Tag: angular

Nested loop returns last 2 values

I’m trying to send multiple items to multiple contacts in my contacts list , I use nested loop but it only send the last item for each contact ignoring the rest of the items , I didn’t know what I’m doing wrong. here are my arrays : here is my JS code : Answer Create an array messagesToSend …

Lazy module not found in Angular version 11

This app is trying to load the BookModule lazily with this configuration: And it’s producing the error: Error: Cannot find ‘BookModule’ in ‘./modules/book/book.module’ Thoughts? Answer Seems like your Angular version is 11. The lazy loading syntax changed. It is something like th…