Upgraded to bazel 3.7.2 and rules_nodejs 2.3.2

Change-Id: If53686f2475c4f367909de577b4da95de8e16768
diff --git a/web/gui2-topo-lib/BUILD.bazel b/web/gui2-topo-lib/BUILD.bazel
index f434907..82052f6 100644
--- a/web/gui2-topo-lib/BUILD.bazel
+++ b/web/gui2-topo-lib/BUILD.bazel
@@ -1,6 +1,5 @@
-load("@npm_angular_bazel//:index.bzl", "ng_module")
-load("@npm_bazel_typescript//:index.bzl", "ts_library")
-load("@npm_bazel_karma//:index.bzl", "karma_web_test")
+load("@npm//@bazel/typescript:index.bzl", "ts_library")
+load("@npm//@bazel/karma:index.bzl", "karma_web_test")
 
 package(default_visibility = ["//:__subpackages__"])
 
@@ -10,7 +9,7 @@
     "@npm//@angular/forms",
 ]
 
-ng_module(
+ts_library(
     name = "gui2-topo-lib",
     srcs = glob(
         include = ["**/*.ts"],
@@ -18,14 +17,18 @@
             "**/*.spec.ts",
         ],
     ),
-    assets = glob([
+    angular_assets = [
+        "//web/gui2-fw-lib:extra_css",
+    ] + glob([
         "**/*.css",
         "**/*.html",
     ]),
     tsconfig = "//web/gui2:tsconfig.json",
+    use_angular_plugin = True,
     deps = NG_FACTORY_ADDED_IMPORTS + [
         "//web/gui2-fw-lib",
         "@npm//@angular/core",
+        "@npm//@angular/common",
         "@npm//@angular/router",
         "@npm//@angular/platform-browser",
         "@npm//rxjs",