Angular version chrome console

Angular version chrome console

If you are working with Angular projects and noticed that the console is showing some errors or you want to know the version of Angular you are using, then you can get this information directly from the browser's console. Here is how you can do it:

  1. Open your application in Google Chrome browser
  2. Right-click on the page and select "Inspect" or press F12 to open the Developer Tools
  3. Select the "Console" tab in the Developer Tools window
  4. Type in the following command and press enter:
ng.version

You should see the version of Angular that you are using printed out on the console.

Using AngularJS?

If you are using AngularJS (the older version of Angular), then you can get the version information using the following command:

angular.version

Again, this should print out the version of AngularJS that you are using.

By checking the version of Angular, you can ensure that you are using the correct syntax and features available in that version. This will help you to avoid any issues and make sure that your application runs smoothly.

Subscribe to The Poor Coder | Algorithm Solutions

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
[email protected]
Subscribe