how to know version of angular code example
Example 1: check angular version
Open the Terminal + view in your project and type
ng --version
this will list the versions of several Angular packages that you have installed in your project.
Example 2: acheck angular version
ng v [options]