(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
var module = angular.module('racer.js', [], function ($provide) { | |
var setImmediate = window && window.setImmediate ? window.setImmediate : function (fn) { | |
setTimeout(fn, 0); | |
}; | |
var racer = require('racer'); | |
$provide.factory('racer', ['$http', '$q', '$rootScope', function ($http, $q, $rootScope) { | |
$http.get('/model').success(function (data) { | |
racer.init(data); | |
}); |