Angular

Subjects in Angular

In this tutorial. let us learn RxJs Subject in Angular. The Subjects are special observable which acts as both observer & observable. They allow us to emit new values to the observable stream using the next method. All the subscribers, who subscribe to the subject will receive the same instance of the subject & hence the same values. We will also show the difference between observable & subject. If you are new to observable then refer to our tutorial on what is observable in angular.

Subjects in Angular Read More »

How to Check Angular Version

There are three ways in which you can check Angular CLI Version

Use the command ng –version (or ng -v) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to find out the globally installed version of Angular.
Use the npm list –depth 0 to find out the list of packages installed in the current folder. Add the -g (global) flag (npm list -g –depth 0), to find the global version.
You can also open the package.json and look for the version of @angular/cli package

How to Check Angular Version Read More »

Scroll to Top