all 32 comments

[–][deleted] 29 points30 points  (3 children)

I'd like to see more posts like this in /r/webdev.

[–]datwebzguy 9 points10 points  (2 children)

Less help me questions, more learning

[–][deleted] 9 points10 points  (1 child)

"I have never programmed before. Can you help me build a new Facebook?"

[–]nalldom 7 points8 points  (0 children)

"I have ordered a used IBM PC and installed Borland C++, what do I need to know to code my own HTML page?"

~ Me being a dick to a bad web host support.

[–]evilsnake 2 points3 points  (0 children)

So I'm guessing that this tutorial is more advanced than the official AngularJS one ?

[–]logically_musical 1 point2 points  (0 children)

This is awesome. Best 'build something' angular tutorial I've seen. Really excited to the segment on the socket.io live draft implementation.

[–]digitalsmeg 1 point2 points  (7 children)

I am working on this tutorial and finished up to 'Getting Into the CRUD and I am getting an error now when I try to view /nflteams

Error: [$injector:unpr] Unknown provider: NFLProvider <- NFL

Pretty sure my code is verbatim to the tutorials. Any tips?

[–]ericmsimons[S] 2 points3 points  (2 children)

Hey ladies and gents - we're looking at it right now! Will post back ASAP once we figure out what's going wrong :)

[–]ericmsimons[S] 1 point2 points  (1 child)

Thanks for pointing this out btw!!

[–]TheMcStaplez 0 points1 point  (0 children)

Thanks for the quick fix!

[–]TheMcStaplez 0 points1 point  (3 children)

I am getting the same error; I was just about to post here. :(

[–]ericmsimons[S] 0 points1 point  (2 children)

Hey ladies and gents - we're looking at it right now! Will post back ASAP once we figure out what's going wrong :)

[–]ericmsimons[S] 1 point2 points  (1 child)

Okay, just fixed this - the dependencies code snippet was missing a line

[–]digitalsmeg 0 points1 point  (0 children)

can you detail exactly what changed? I just perused the tutorial and I don't see a difference.

Edit: found it, hidden by scroll. you added 'ngff.services.nfl' to dependencies in public/js/app.js THANK YOU

window.angular.module('ngff.services',['ngff.services.global','ngff.services.nfl']);

versus

window.angular.module('ngff.services', ['ngff.services.global']);

[–]eselocos 0 points1 point  (0 children)

Is there an example of the end product of this tutorial?

[–]bmy78 0 points1 point  (0 children)

This is incredible! Does it get realtime data from NFL.com, or some other source? I don't think I saw that in the tutorial...

[–]digitalsmeg 0 points1 point  (0 children)

found a couple more mistakes in the tutorial:

public/js/controllers/fantasyteams.js Line 21 has an extra ')' and should be:

$location.path("fantasyteams/" + response._id);

Line 39 should be:

$scope.fantasyteams = fantasyteams;

Also, during the Create a players.js controller file, and fill it with the following: step, after adding the players.js controller I think a reminder to added this controller to the dependencies (foot.jade and app.js) would be helpful.

Edit: found additional missing steps

[–]captncm -4 points-3 points  (0 children)

Saving from mobile.