Wait.. 🤔 what is Angular and AngularJS?
Angular vs AngularJS
AngularJS is version 1 of Angular and well you guessed it Angular is version 2 of Angular. Angular2 is just a common name used, Angular has many version releases such as version 4, 5, 6, 7 but instead of calling the new releases Angular v5, Angular v6 etc. it was decided to rather call it Angular2 🤗 .
So what is the hype around Angular?
Angular is widely adopted in the developing world because(my opinion) it can be used on many platforms such as website, mobile apps, desktop apps. One codebase many applications. Angular also offers speed and performance via web workers, server-side rendering, component-based architecture, mobile-oriented philosophy and some other cool characteristics. Angular puts you in control over scalability. Meet huge data requirements by building data models on RxJS, Immutable.js or another push-model.
Angular applications are built with at least one component. The root component that connects a component hierarchy with the page document object model (DOM). The angular app can basically be described as a tree (again my opinion), components are a subset of directives 🌲.
You see… it’s an Angular tree.
Angular also offers code reusability, readability, unit-testing and maintainability.
I guess Angular holds that familiarity to people who were raised on natively working with the DOM as with JQuery. Angular is more easily grasped by those who worked with AngularJS, Handlebars, or earlier MVC tools like Rails, PHP, or Django. It also holds true to rapid development which makes it attractive to big corporations.
Now that we have a high-level understanding of Angular let’s get into the magical code in our next blog! 🧞♂️
Author: Linton Achmad – Intermediate Developer