I recently finished developing a front-end application in Angular 2 using angular-cli.
After completion, I created a bundle using the command ng build
.
Here's what puzzles me - my app consists only of JavaScript and HTML files. So why do I need to have a server?
My understanding was that my Angular 2 app should be able to run directly from index.html by simply double-clicking on it. Am I mistaken?
Thank you for your help!