Skip to content

Instantly share code, notes, and snippets.

@eshrinivasan
Last active August 23, 2022 09:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eshrinivasan/48f0a9f210dbfa6d850c285374134169 to your computer and use it in GitHub Desktop.
Save eshrinivasan/48f0a9f210dbfa6d850c285374134169 to your computer and use it in GitHub Desktop.
Check angular version from browser
1. From Browser console:
Newer angular version:
>> getAllAngularRootElements()[0].attributes["ng-version"];
Older angular version:
>> angular.version
2. From Elements tab of Chrome Dev tools
>> look for “ng-version” tag on the “app-root” element.
@eshrinivasan
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment