php - How to dynamically expend Angular website?

Solution:

You need to create dynamic component to achieve this. Then by using of dynamic component selector along with some @Input and @Output decorator you can use same html for other purpose.

Answer

Solution:

Ah, I see. Kind of new to Angular and more advanced website programming.

I managed to setup a back-end with mongoDB and mongoose to add users to it using an Angular front-end. When a user logs in I load his/her data into a template html file.

Thanks for the info.

Answer

Solution:

As @Ivan said, it is impossible to manipulate something in a file on the server while the angular app is running on client machine.

Source