r/angularjs • • Feb 27 '16

The AngularJS inspector pane for your browser

http://ng-inspector.org
51 Upvotes

17 comments sorted by

7

u/[deleted] Feb 27 '16

It's ok, but lacks a search/filter functionality.

1

u/stocarul Feb 27 '16

Yes, I know that, but haven't found something that does it so far ...

7

u/gauiis Feb 28 '16

2

u/yesman_85 Feb 28 '16

I didn't know this until recent, but you can do inspect element in Chrome and on the right pane it will add a tab $scope, which has the scope for the inspected element.

That feature alone beats ngInspect by miles.

1

u/eof Feb 27 '16

is this angular 1 or 2 or both?

1

u/stocarul Feb 27 '16

Currently it only works for Angular 1.

1

u/e82 Feb 28 '16

Dev tools for Angular 2 are being worked on, Batarangle - still in beta/not quite officaly launched yet.

1

u/eof Feb 28 '16

Thanks

1

u/mishugashu Feb 28 '16

Is there a benefit over Angular's own Batarang for Chrom(e|ium)?

1

u/james_bell Feb 28 '16

I read Batarang doesn't work after Angular 1.2 on the Wikipedia page but the github says they are still releasing new versions.

1

u/jackhanford Feb 28 '16

I use it with angular 1.5, works fine! They have added a ton of improvements too.

2

u/shozzlez Feb 28 '16

Awesome! When did they fix it?? I had stopped using it last year when they broke everything during part of the UI refresh. I switched to using the Batarang Stable fork but that was always buggy too. I just tried the latest version of Batarang and it's working great! I'm excited to have the real Batarang back!

1

u/mishugashu Feb 28 '16

That was true for about 2-3 weeks back in like 2014. I use it every day since then in 1.2, 1.3, and 1.4. I've had no issues. Latest version is a few weeks old. I doubt they'd be updating something that's completely broken.

1

u/james_bell Feb 28 '16

Wikipedia needs an update then: https://en.m.wikipedia.org/wiki/AngularJS#Chrome Plugin

0

u/mishugashu Feb 28 '16

I updated it for you. I've never really contributed before to Wikipedia, so who knows what sorta moderation there is, though.

1

u/superluminary Feb 28 '16

Batarang was broken and ignored for long time, but Misko announced last year that it would become a priority, and that someone would work on it properly. I forget which conference it was, but it has become a thing again.

This pane looks pretty awesome, though Angular 2 has no $scope, so it may be less of an issue shortly.

1

u/LoneWolfRanger1 Feb 28 '16

Cool! Will chexk it out