Adding clarity to scope inheritance in angular

No matter how old JavaScript gets, the concept of prototypical inheritance still confuses developers. In fact, appendTo just gave a training course on functions and objects that talked about it yesterday! Not to mention Jordan Kasper's great talk on OO JavaScript. The fact is prototypical inheritance in JavaScript presents confusion…

Node.js and express wrapper for Yahoo Fantasy API

With the NFL season just 31 days away (8/3/2014), I'm proud to release a Node.js wrapper for the Yahoo Fantasy API! It's not a whole lot yet, and basically just helps with the setup and not with individual API calls, but it's still one of the only…

Scope creep, a deep dive into Angular's scope

Getting used to the concept of scope in Angular is among the more difficult concepts to fully grok when first being introduced to the magical land of Angular. Like anything else though, "once you understand it, it's really not that bad"... $rootScope This is the mother of all scopes. Quite…

Object literals and prototypes in JavaScript

You think you know JavaScript and then little things like this happen... My co-worker Aaron who is a Visual Design Engineer is in the process of learning JavaScript and he asked me to have a look at a Fiddle. The contents of the fiddle looked like this... function Pizza (type…

Understanding Angular.js services the easy way

One of the difficulties when first learning angular is understanding services and what they really are. One of the problem with services is there are several different ways to create one. This leads to many people saying which one should I choose? There's been over 131k views on this Stack…

The state of angularjs controllers

Angular.js is based on the ever popular MVC architecture pattern. However, like many other JavaScript frameworks, MVC can very easily be muddied up and misused. Understanding the framework you're using, whether that be Angular, Backbone, etc, and how the different M-V-? pieces work together is important to the maintainability…