How can I tell whether a web app was built using Angular (or other technologies)?
Asked Answered
K

12

46

How can I tell whether a (Drupal 7) web app was built using Angular by looking at the page source, and not having to ask the developers?

Kobayashi answered 29/4, 2015 at 17:8 Comment(1)
Try opening the console and typing window.angular.versionClaycomb
S
41

enter image description hereThe best way to check is to write "angular" on browser console. If you get any object [With child objects as "bind","bootstrap","callbacks","module" etc.] then its an angular web app.

Stets answered 29/4, 2015 at 17:21 Comment(5)
I add an picture you can write angular in console and click on the triangle you can find the child objects thereStets
In angular 4, now we can't access angular object in console. so need to find another fix.Michale
You actually can't access angular object in console for Angular 2+Counterweigh
Run this in angular 2+ : window.getAngularTestabilityLevo
this is not the case , this site was made on angular 8 but no luck akveo.com/ngx-admin/pages/dashboardChiachiack
D
21

You can install a chrome or firefox extension called Wappalyzer. It tells you which site you are navigated on in your browser and the stack they use.

Find it here: https://www.wappalyzer.com

Danieledaniell answered 29/4, 2015 at 18:0 Comment(3)
Unfortunately for me, it often shows Express web framework instead of Angular. I also have a website written in Python Flask and Wappalyzer does not recognize it.Ivette
the link is dead.Cupping
@Ivette mostly because flask is a backend framework, it does most of the processing behind the back and does not include any specific clues (such as flask-related comments) on the rendered website, whereas it is easy to identify other frameworks like react (has a virtual DOM), or angular (has ng attributes spread all across).Dymphia
U
19

You could try: angular.version.full first. If this doesn't work, try getAllAngularRootElements()[0].attributes["ng-version"]. The reason being in Angular 1 the former will work and from angular 2 onwards the later will work.

Unclear answered 18/8, 2018 at 17:0 Comment(1)
This works for me getAllAngularRootElements()[0].attributes["ng-version"]. Thanks !Menial
D
9

If it's an online site you can use http://builtwith.com/ and it usually can give you a good and useful bunch of information about that site.

However if they are using angular you can take a look at their page sources to see if they are using any attributes of angular like ng-repeat for example

You can also take a look at the sources that your browser get while browsing that site to see if javascript files for angularjs are included among the sources.

Dodger answered 29/4, 2015 at 17:15 Comment(0)
D
4
  • Application declared using ng-app directive

  • very simple controller and directive

  • check for ng-model, ng-repeater attributes in the code. All these attibutes are written in small letters.

  • Also you can check by typing in the console(ctrl + shift + i) and navigate to console tab. There type in window.angular.version --> it displays the version of the site your are currently inspecting.

Deign answered 28/8, 2017 at 15:15 Comment(1)
This was worked for me window.getAllAngularRootElements()Wachter
Z
4

For Angular, in Chrome's inspector, in the Elements tab, inside the body element is an element called app-root containing ng-version, which shows the Angular version it's using.

Zilpah answered 24/5, 2021 at 20:51 Comment(0)
B
3

Try

https://builtwith.com/

This is the website that currently gives you the most detailed information about what technologies a site uses. They will let you do 5 free lookups a day.

https://wappalyzer.com/

is a good one too, and serve as a complement to builtwith. I don't think there is a limit of lookups, but the results are less detailed.

Those two used together may give you more insight.

Branching answered 16/4, 2019 at 17:4 Comment(0)
D
3

Use window.getAllAngularRootElements() in the browser console, if it returns some value, it's an angular application.

Dough answered 19/5, 2021 at 11:46 Comment(0)
A
1

There is a Google Chrome extension called 'ng-detector'. It may be obtained from the Google webstore:

https://chrome.google.com/webstore/detail/ng-detector/fedicaemhcfcmelihceehhaodggfeffm

It creates a small icon next to the URL bar that indicates whether or not it thinks the page was created using Angular, although I have not thoroughly tested its validity.

Afraid answered 21/7, 2017 at 1:8 Comment(0)
Z
0

You can install a Chrome or Firefox extension called Augury. It tells you if app is an angular or not.

enter image description here

Zetana answered 29/11, 2018 at 14:15 Comment(0)
W
0

window.getAllAngularRootElements() worked for me

Willable answered 8/10, 2020 at 4:24 Comment(0)
L
-1

Install chrome extension React-Detector, it works!

Luthern answered 23/11, 2017 at 4:11 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.