Live data from Hacker News

AngularJS Screencasts

egghead.io

41–42 of 42 posts

Re: AngularJS Screencasts

#41
post #34

Everyone keeps saying I should use Restangular instead of ngResource but so far I haven't seen any good reasons to. Anyone care to enlighten me?

I haven't used either, I have used only $http so far but I have observed two important differences:

- Support for wrapped responses: ngResource expects that you return an array for GET, so you need to return [objects]. See https://github.com/mgonto/restangular#my-response-is-actuall...

So, if you return something like `{meta: ..., data: [objects]}`, you are out of luck. Does anyone know a work around for ng-resource? I am using tastypie server-side which returns wrapped responses.

- restangular uses promises for callback, so you can do foo.get().success(function (){}) just like $http, while ng-resource uses jquery like foo.get(function () {})

Re: AngularJS Screencasts

#42
post #40
post #27

Earlier quoted context omitted.

In addition to the first three tutorials I just put out another cast on tuesday, here's the full updated list: * Part 1: Intro to Angular JS (50 minutes) [1] * Part 2: End to End with Angular JS (52 minutes) [2] * Part 3: Security with Angular JS (30 minutes) [3] * Part 4: Frontend Workflows with Grunt and Angular JS (~60 minutes) [4] [1] - http://www.youtube.com/watch?v=8ILQOFAgaXE [2] - http://www.youtube.com/watch…

These are amazing, have you considered authoring for something like Lynda.com ? Or make a site with lots of screencast, as a beginner I would pay to have good Angular JS video tutorials from an expert.

I'm just going to keep putting out casts for free, some will be Angular JS related in the future but my general idea is to focus on screencasts that will benefit web developers in general. Thanks for watching! :)
Post reply on HN