0% found this document useful (0 votes)
26 views

Let's Start To Learn Angular

Angular is a tool for building interactive websites that is also a framework. AngularJS refers to versions 1.x to 1.7, while Angular refers to versions 2.x and up. Semantic versioning gives a version number in the format of major.minor.patch to indicate the level of compatibility of new changes. Angular skipped version 3 and went to version 4 when upgrading the router from version 3 to 4. The Angular CLI is a useful tool that handles tasks like module handling, bundling, and transpilation to improve development efficiency.

Uploaded by

Dead inside
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

Let's Start To Learn Angular

Angular is a tool for building interactive websites that is also a framework. AngularJS refers to versions 1.x to 1.7, while Angular refers to versions 2.x and up. Semantic versioning gives a version number in the format of major.minor.patch to indicate the level of compatibility of new changes. Angular skipped version 3 and went to version 4 when upgrading the router from version 3 to 4. The Angular CLI is a useful tool that handles tasks like module handling, bundling, and transpilation to improve development efficiency.

Uploaded by

Dead inside
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Let’s start to learn Angular.

What is angular? Angular is a tool to help you build interactive websites. It is also a
framework.
What are the difference between AngularJS and Angular? AngularJS is a package of older
version of angular starting from version 1.x to 1.7. Angular is starting with all version from 2.x
to current version of Angular. Difference between AngularJS and Angular are very even,
Angular is just more modern and he is adapted to current standards and Angular is more
performant than AngularJS.
What is semantic version? Semantic version is a way to five a version number to project,
MAJOR MINOR PATCH (M.M.P.). Major means a big patch which implements new
incompatible API. Minor means new functionality that are compatible with current API. And
Patches means compatible bug fixes.
Angular 3? Angular 3 doesn’t exist, because angular 2.0 worked on router 3.0 so when the
angular team increments router to version 4.0 they decided to skip angular 3.0 and make angular
4.0.
How to run an angular aplication in CLI? To run a application we need to write ng serve –
allowHosts
One way data flow? One way data flow is an arhitectural construct that allow us to execute a
change detection cycle. For example we have an „Parents State” that was changed, so the child
states would check its state, after the components are rerendered whit new state.

Dependency injection? Dependency injection allow us to inject ArticleService by adding a


constructor whit a parameter and marking it whit the correct type inside our class.
Directives? Directives are way to add some new functionality inside our element. For example
our element could apear on hover or be draggable.
Templates? Template is an package whith all views ready to be applicated in project. In angular
template is always separated from component itself.
State Change? State Change is rerender every state that are changed.

\
Rendering Needs? Rendering needs it’s an need to run our application on more devices.
CLI? It’s an tool that allow us to improve our efficiency. For example to do a web application
by hand we need to do Module Handling, Shims, Bundling, Transpilation and Change Detection,
that costs a lot of time. CLI handle all this stepts for us, it allow us to not think about that. CLI is
a very usefull tool whit him we can build New Application, New Components, New Services,
Serving up the Application, Linting, Testing and Building for production.
Server-side Rendering? Server-side rendering is reducing initial download size, its render time,
that is boost our performance. Also Server-side Rendering has operation modes like Full Pre-
Render, Dynamic Pre-Render, Client-Side Switch.
Mobile frameworks? In angular we have 2 frameworks for building mobile apps: Ionic and
NativeScript.
Testing Tools? Karma and Protractor.
RxJS? It handle asynchronous operation and replace promises.

You might also like