Angular is an opensource Javascript Framework used to build dynamic mobile and desktop web applications using TypeScript/JavaScript and other languages.
In 2012 Google introduced a new Javascript Framework called AngularJS, the framework was written using pure Javascript and deloveloped using Model-View-Controller concept. The framework uses HTML as a templating language by extending HTML attributes with directives and linking the data to HTML with expressions, this makes possible quick development of dynamic webapps with source code that is easier to read, understand and maintain.
An example of creating a simple dynamic AngularJS web app :
|
|
AngularJS is also known as Angular 1, in the following years after AngularJS was released google and the opensource community released a second version of AngularJS but they called it Angular 2, the suffix ‘JS’ from AngularJS was removed and this has been so even now with the latest version of angular released being version 7. Angular 2 was a re-design of AngularJS not an increment of it, Angular 2 apps/code is not backward compartible to AngularJS apps/code, but they do share some of the concepts and philosophies except Angular has had more improvements and features added to it, while angularJS has remained at version 1.
Knowledge of NodeJS and Typescript is necessary to develop Angular apps. Javascript can be used instead of Typescript but such a practice is not widely used and sometimes not recommended by some of Angular users/developers.
You can create an Angular app using this few commands below. Please ensure you have Nodjs installed on your system.
Open your CMD/Terminal and type :
|
|
|
|
(b) Select CSS or your preferred CSS preprocessor. Introduction to different types of css preprocessor.
|
|
|
|
To improve the app further
Create desktop installable app using same code for Linux, windows, Mac.
Build native mobile apps using Cordova, Ionic, Nativescript, etc.
Develop high perfomance Native like Progressive web apps.
More features and benefits here.