Add shortcuts to easily debug your Angular application.
Angular Gauntlets helps you getting your hands dirty. It makes the components and providers of your Angular application accessible on click on an element in the Chrome DevTools elements panel.
How to?
Just click on a DOM element in the DevTools elements panel, type one of the following keywords in the console and here we go!
- $component: click on a DOM element referring to an Angular component to access its instance and playing with it.
- $context: display a DOM element context, can be its parent Angular component, a ngFor row, etc.
- $scope: equals $component onto Angular components or $context onto child elements. The best alternative of AngularJS Batarang for Angular.
- $providers: get the list of the all the providers instantiated in your Angular app and play with them (not supported by Angular 9).
- $detectChanges(): triggers Angular change detection to get your changes apply.
- log$(obs): log the first value of the given observable.
Little extra: you can get a preview of all these info in the Angular tab of your DevTools elements panel. Switching between elements will refresh the data immediately.
Latest reviews
- (2020-10-22) Kamil Wężyk: Very nice!
- (2019-09-24) Edgar Castillo: Very handy when you want to avoid typing in ng.probe for everything.
- (2019-05-13) Adrian Marinică: Perfect replacement for AngularJS Batarang.
Statistics
Installs
2,000
history
Category
Rating
5.0 (5 votes)
Last update / version
2021-05-06 / 1.2.3
Listing languages
en