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 AngularJS Basics (1.x) Controllers and Scope Understanding Scope In Angular

Having trouble reproducing code.

I'm trying to reproduce the same coding as Huston, but it seems like:

  1. I'm getting some error
  2. ng-ispector is not showing anything.

I think I have everything exactly same as the instructor. Or am I'm doing something wrong? Any solutions?

Here's my code snapshot: https://w.trhou.se/r9dfkfwk1m

1 Answer

Hi,

Your last line looks like this:

  });;

That might be part of the issue. :)

Best, Cena

Hey Cena,

First of all that's exactly what the instructor has on the video. Secondly the problem persists even when I remove on of the semicolons (if that's what you mean)

Did you manage to get it to work? If so I would love to know what exactly you changed.

Cheers.