mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
7f85d184b0
This fixes a bug introduced by [#60206](https://github.com/angular/angular/pull/60206/files#diff-c07b9ecd59f6e0ed636ac9672b9644178d9a999f04bc8b8198b13e86589dfa5b). Previously `DirectiveMetadata.prototype.dependencies` was always set, but in that PR `dependencies` is only set if an `Injector` is found (which only happens when `ng.getInjector` is *not* defined). This causes an error when evaluating `dependencies.length` in the template. Fix is just to check for existance before calling `length`. PR Close #60256
Angular DevTools UI
This module exports the Angular DevTools component. We render the DevToolsComponent within an Angular application running in Chrome or Firefox DevTools. This module of the application communicates with the Angular DevTools "backend".