Introduction to AngularJS and Angular
1. What is AngularJS?
AngularJs is a Javascript Framework created to build dynamic web apps. It is usually used to create Single Page Application - SPA and operates based on the extension of attributes for HTML tags (The attributes comply with the rules of Angular). AngularJS is a free platform and preferred by thousands of developers around the world.
2. History of AngularJS & Angular
No ADS
AngularJS was developed in 2009 by Misko Hevery and his friend, Adam Abrons. It was only considered as side project byeond their main jobs.
Then, Misko Hevery took part in a project named Google Feedback as a developer working part-time. Misko Hevery and other 2 developers wrote 17,000 code lines for the Google Feedback project within 6 months. The quantity of codes increasingly became bigger and bigger and Misko Hevery found that it was more and more difficult to amend and control arising errors.
Therefore, Misko Hevery betted with his manager that he could rewrite all codes for the Google Feedback by using his GetAngular project for 2 weeks. Hevery lost. Instead of 2 weeks, it took him 3 weeks to complete the work, however, the codes of the project reduced to 1,500 lines from 17,000.
Thanks to the success of Hevery, his manager, Brad Green noticed and developed AngularJS. The AngularJS really accelerated in that time.
3. Who is behind AngularJS?
Google!!
One of the original creators, Adam Abrons stopped working on AngularJS but Misko Hevery and his manager, Brad Green, spun the original GetAngular project into a new project, named it AngularJS, and built a team to create an maintain it within Google.
One of AngularJS’ first big wins internally at Google occurred when the company DoubleClick was acquired by Google and they started rewriting part of their application using AngularJS. Because of DoubleClick’s initial success, Google seems to have invested even more resources into Angular and has blessed AngularJS for internal and external product usage.
Because of this, the Angular team inside Google has grown rapidly.
4. AngularJS vs Angular
No ADS
In fact, Angular has 2 completely different versions, version 1 and version other than 1.
Version 1:
Version 1 has official name: AngularJS. now, it is still being developed. On August 9th, 2018, version 1.7.3 is released. Below is time marks:
Version | Release Date (dd/MM/yyyy) |
1.7.3 | 09/08/2018 |
1.7.2 | 12/06/2018 |
1.7.1 | 08/06/2018 |
1.7.0 | 11/05/2018 |
1.6.10 | 18/04/2018 |
1.6.9 | 02/02/2018 |
1.6.8 | 22/12/2017 |
1.6.7 | 25/11/2017 |
1.6.6 | 18/08/2017 |
The Angular1 version is actually based on Javascript. Developers will write codes in Javascript language, therefore, it seems to be easy to study and do and recruiters seek candidates easily. But, for performance, it is being compared to ReactJS by the developer community. Many software development companies want to build a new product that often considers using an Angular version other than 1.
Version 2, 3, 4, ..
Starting from version 2, its official name is Angular. On May 4th, 2018, official version 6 is released. Below are event milestones:
Version | Release Date (dd/MM/yyyy) |
7.0.0 | 12/2018 (?) |
6.0.0 | 05/05/2018 |
5.0.0 | 01/11/2017 |
4.0.0 | 12/12/2016 |
2.0.0 | 23/10/2014 (*) |
Angular version 2 has completely changed thinking compared to Angular1. This change is created with the ambition that will help Angular defeat ReactJS.
Some improvements of Angular according to new thinking:
Component:
The decisive idea of the new Angular4 is Component. The Component is not strange in ReactJS, but It is a new concept that Angular1(AngularJS) does not contain. It is applied by Angular4 to create a clear code structure and has ability to reuse available components.
Typescript:
Typescript is developed by Miscrosoft to write Javascript codes with object-oriented style. The primitive Javacript itself is designed very simply and follow the direction of functional programming, therefore, there will be no inheritance, polymorphism features, and so on.
Typescript has some features for Javascript such as: inheritance, data type, constructor, etc. It can be said, the Typescript makes javascript have very "Java" style. In essence, many Typescript syntaxes are not understood by the browser, so it can not be run directly in the browser. therefore, A necessary step is to compile the Typescript code into normal Javascript. The role of Typescript is like an intermediate language. It is often known as Language specification.
No ADS
AngularJS Tutorials
- Introduction to AngularJS and Angular
- AngularJS Directive Tutorial with Examples
- AngularJS Model Tutorial with Examples
- AngularJS Filters Tutorial with Examples
- AngularJS Events Tutorial with Examples
- Quickstart with AngularJS - Hello AngularJS
- AngularJS Validation Tutorial with Examples
Show More