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) Services in Angular Using Services To Get Data

John Park
John Park
5,323 Points

Getting sloppy, Treehouse...

I've noticed a couple videos, including this one, where the instructor makes changes to the code without informing us, the students. Please pay attention to the details and make sure you are showing the code changes as you go along. Thanks.

15 Answers

Wendy Peralta
Wendy Peralta
11,203 Points

I agree completely. This course has been very hard to follow along. I keep getting lost between my code and what I see in my preview, versus what is shown on the video. Plus we don't get rid of previous examples from the beginning of the course that doesn't do anything for our todo list, like $scope.helloWorld (which changed magically from helloConsole....?).

It's just very confusing and messy.

I think Huston does a good job with a tough task. Here's A few things to keep in mind:

1) Angular is FAMOUSLY difficult to even get a grasp on -- never mind become productive. Here's a link to a Reddit post of industry veterans discussing it's steep learning curve:

https://www.reddit.com/r/angularjs/comments/2iugqx/how_long_did_it_take_you_to_get_angular/

2) Don't ever copy down code you don't understand. Ever. He mentioned a few videos back that it might be a good idea to watch the lesson through and then try and follow along once you've see the breadth and width of it. Give it a try.

3) When I was first learning to code I jumped into JS frameworks too soon. I didn't have a solid grasp on asynchronous programming, scope and closures, object oriented paradigms, or prototypical inheritance. four things that are ABSOLUTELY CRUCIAL to feeling comfortable with AngularJS. I wasted my own time then -- but here I am, about four months later and much wiser and it's feeling okay.

4) If you think Codeschool bats 1000 in terms of avoiding bugs, gaps in lessons, and awkward instructors -- you haven't done much Codeschool. Can't stand the goofy themed videos and wildly out of date curriculum, myself.

Jason Foster
Jason Foster
26,231 Points

Fair points all around. I probably should have not posted here while I was still so frustrated. Thanks for providing some perspective.

I second (or maybe it's third?) this:

"He mentioned a few videos back that it might be a good idea to watch the lesson through and then try and follow along once you've see the breadth and width of it. Give it a try."

It really helped me getting an overview of what you're about to dive into, read supplemental material if necessary, then coding it out

Eric Tirado
seal-mask
.a{fill-rule:evenodd;}techdegree
Eric Tirado
iOS Development Techdegree Student 7,036 Points

Agree. I try to follow along his code, but then the next workspace has missing code and has errors in the console we have to pause to fix instead of being able to focus on the lesson's task. It has happened for several lessons. This looks like it's a frustration point for many of us.

Thank God! I thought it was just me. I keep finding changes in his code that he did not talk about. I'm spending too much time getting caught up in the details and not being able to understand the concepts that he is teaching. Very confusing and frustrating!

yes this is confusing. my results are always different than this instructor

Instructor types ( below) and tests

$scope.todos = dataService.getTodos();

but then when he reviews the code it looks like this.

$scope.todos = dataService.getTodos;

This is a new course so maybe they need to go back and clean it up?

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,860 Points

I've almost given up trying to follow along live. Too many unknown changes in the code after each video, that I spend more time finding and adding / deleting the changes... it's very frustrating... and a frustrated learner has a very hard time learning.

I hope all this gets straightened out very soon!

:dizzy:

Juan Ferr
Juan Ferr
13,220 Points

I agree....This instructor sucks.....the others are really good....but this guy keeps skiping things and changing code without informing it.....

Don Hamilton III
Don Hamilton III
31,828 Points

Agreed. But I guess it's good debugging experience...

Marc Murray
Marc Murray
4,618 Points

Yeah from what I can tell the whole learningNgChange function was added with no mention whatsoever.

Nathan Heffley
Nathan Heffley
19,878 Points

That was added in a couple of videos ago (maybe in the last section) at the very end was only used to show the ng-change feature. The code isn't actually used anymore, and I think it did disappear a few videos ago but apparently it has made a reappearance :P

Samuel Allemang
Samuel Allemang
28,116 Points

Seriously. Really starting to consider spending my money elsewhere (CodeSchool maybe?).

Looks like CodeSchool actually has a free course on Angular.js. It seems like a viable alternative. This course is becoming too hard to follow along with as the code is all over and each video seems to be different code than what was placed in before.

It'd be easier to follow along with if a new workspace was also provided, maybe with the updated, accurate code. Or even the ability to compare your code to the teacher's without having to go through each scene of the video.

Jason Foster
Jason Foster
26,231 Points

This has been profoundly frustrating. So so so sloppy and confusing. I'm in "copy the code" mode and not learning a damn thing.

var thisCourse = !good

Yosef VanTine
Yosef VanTine
8,880 Points

I've reported loads of spelling mistakes in the css file as well. I kept thinking my code wasn't working only to find it was some css with a different class than the one in the video!

Bryn Price
seal-mask
.a{fill-rule:evenodd;}techdegree
Bryn Price
Full Stack JavaScript Techdegree Student 7,253 Points

I would say this would be very good if it weren't for the errors between code and test. In fact, I don't even mind instructors making errors, if anything, shows that we're all human and likely to make errors as we code and have to go back and change them. It would probably reassuring in some way to see others do it, because I do it (case in point, my Rails app broke due to 1 spelling error and my debugger didn't pick it up...and it ran fine until it came to production. It took ages to discover the sod, it can be that simple).

My feedback would be for them to be announced as they're being made, what he's gone back and done to make it work. Maybe even accompanying teachers notes to that affect (now that the videos have been recorded), I see no shame in amendments (I mean, even the US constitution has them! :P).

I understand the points about Angular being a steeper learning curve and needing a grasp, but I am understanding what he is trying to get me to grasp, but I am following his syntax and it's not working. I have been able to correct any errors up until this video and looking at various bits of code from other people who have the same problem I'm getting, the solutions aren't working either.

[EDIT]

I am going to make an edit, because you know how I said "it can be that simple". I solved my problem with a very simple solution.

I forgot to save my json file, that's why mine didn't work. So...yes, we all make mistakes. :P So scratch that, that this is the first one I've not been able to resolve.

Well what is the damn error? I can't find it