Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.