What is AngularJS?
The popularity of SPA-based web apps has taken off based on the fact that they allow us to deliver rich, dynamic, and fast-loading content that mimics that of a desktop application. One big difference between Angular based sites and traditional ones like plain JS is that Angular expects the browser to build the web page.
Keeping Three concepts in mind because of which Angular was developed – Make it modular, make it testable, make it maintainable. Angular 1 gave us modules to effectively separate out our code for testing and maintenance. Angular 2 brings us components an even better way of separating out our logic. Angular version1 was first published in 2009 and became a massive success with millions of developers adopting and using the framework. Angular version 2 introduces sweeping changes along with a complete code rewrite.
We now try to create most of our components in such a way that they can be used in multiple applications without changing a single line of code. We even use components in a Microsoft Windows 8.1 WinRT application (that uses AngularJS) developed in Visual Studio and it all works fine. Component driven AngularJS development is still in its early stages but it is incredibly promising. Apart from its technical benefits, it highly increases productivity and offers a lot of practical advantages that benefit teams of any size.