- Earlier all the logic of JS was clubbed together in a single file along with code, CSS and html/JSP
- Then when the code grew it was harder to manage it
- Then came Angular which divided these things into its own file which caused easy to maintain
- Along with that, it provided build facilities, compilation