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 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.