Coming from v1, we always serve app.js/pages from server, Is this possible using the new version? loading modules/components/pages, everything from server?
interessting question. I will push this up,maybe someone have a hint, solution, etc…
Best regards, anna-liebt
Its not easy as in angular v1.
What i am did in version 2+ is the all HTML i print base on json data that i receive from server.
And the js file i get as string from server and load it with eval(“js string”);
Thats one way to do it, but ofcourse, its not that optimal, you may face lots of issues later on.
I will be more than happy to hear about another way.