From 723e3146c38ddbbb8dbefb149150a4a2c6dd00d6 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Tue, 27 Oct 2020 10:32:47 +1100 Subject: [PATCH] Fix Angular version detection --- src/technologies.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/technologies.json b/src/technologies.json index bc81bf27a..271f7663d 100644 --- a/src/technologies.json +++ b/src/technologies.json @@ -1248,7 +1248,13 @@ "AngularDart", "AngularJS" ], - "html": "<[^>]+ ng-version=\"([\\d.]+)\"\\;version:\\1", + "dom": { + "body > :first-child": { + "attributes": { + "ng-version": "^([\\d.]+)\\;version:\\1" + } + } + }, "icon": "Angular.svg", "js": { "ng.coreTokens": "",