Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

vicky sara
vicky sara
746 Points

ng-inspector for AngularJS 0.5.10

Hi,

i followed the same steps as you show to add extension ng-inspector for AngularJS 0.5.10, but it was not working(

I tested ng-inspector for true car website, working fine as you shown. but it was not showing up any thing for my sample application. Do i need to follow any additional steps to make it work for small projects like ours?

please help me.

Thank you.

You should not have to do anything special but inspector can be a bit fussy on detecting angular and the proper scope. Especially there are multiple ways to set up angular.

  • What project are you currently trying to use it on?
  • Are you getting an error that it cannot find angular or is it opening up with no scope shown?

It seems to be working for me in the untouched workspace.

1 Answer

Ryan Peacan
Ryan Peacan
26,764 Points

I found out that you need to be running it on a server, rather than just viewing it via the "file:///" method in your browser. I ended up downloading Mongoose (https://backend.cesanta.com/mongoose.shtml) and running that in the folder containing the index file. I believe this would also work with a XXAMP or MAMP etc. server. This solved the issue for me.

Ahhh this seems to be common with many extensions. Chrome does not give extensions full access to local files without some special workarounds. Primarily for security.