Feedback on my Twitch.tv viewer

Feedback on my Twitch.tv viewer
0

#1

I’ve just finished the Twitch.tv challenge.
I used AngularJS for app core and Foundation as CSS template.
I’m looking forward for your opinions on my code.
Project Link - http://codepen.io/saj96n/full/OXBdoa/


#2

Nice! I had done mine in Angular as well, but have never played with Foundation. Your code works well and is readable, but for combining more than one XHR request, you’d normally want to use promises instead of an if clause. For a small project, it’s certainly not an issue, but if you needed to do a lot of stuff per request, or need even more requests, ifs get unruly.


#3

Cool!

Did you have any experience with Angular before this?


#4

Thanks for the feedback.
I just started learning AngularJS a week ago and it’s my second project.
Here is my first Angular project - https://codepen.io/saj96n/full/akRVmE/