build-your-own-angularjs icon indicating copy to clipboard operation
build-your-own-angularjs copied to clipboard

Source Code & Errata for the "Build Your Own AngularJS" book. http://teropa.info/build-your-own-angular

Results 42 build-your-own-angularjs issues
Sort by recently updated
recently updated
newest added

Change This kind of file organization is going **go** get difficult to track at some point, because it’s difficult to know where things come from. to This kind of file...

if (this.$root.$$applyAsyncId) { clearTimeout(this.$root.$$applyAsyncId); // this line has been changed so it should have yellowish background

Scope.prototype.$applyAsync = function(expr) { var self = this; self.$$applyAsyncQueue.push(function() { self.$eval(expr); }); }; // instead of });

book p199 ended up the parsing numbers part. But how about the following test case: ``` it('can parse plus number', function() { var fn = parse('+2'); expect(fn()).toBe(2); }); ``` I...

``` it('will not parse invalid scientific notation', function () { expect(function () { parse('42e'); }).toThrow(); }); ``` The test above fails wherares the angular $parser works properly with this and...

> Notice that we didn’t really have to do anything to make the adoption of foreign Promises work. That’s because our then implementation already knows how to wrap a foreign...

hi which ide you use in scotlandjs? it awesome! ![build](https://cloud.githubusercontent.com/assets/1905176/16436915/b2c10bf4-3dd4-11e6-9a7a-5fe8449cbec8.png)

All the download links in the book point to the previous chapter. For example the link for chapter 10 points to the download link for chapter 9

lodash has changed from _.any to _.some `function isAllDefined(val) { return !_.any(val, _.isUndefined); }` should be `function isAllDefined(val) { return !_.some(val, _.isUndefined); }`