Require.js packages for building large scale angular applications

Require.js is one of my favorite ways to work with large JavaScript applications. It allows you to build AMD (asynchronous module definition) style modules to break up your application into small reusable modules. This is a desirable feature in large code bases. It's important to know when and why…

Using jQuery's $.ajax in an Angular app

We've all been using jQuery for a long time. It's for this reason that Angular.js works seemlessly with jQuery if it sees it on the page, but also has it's on jQLite available for those who decide to opt out of jQuery. One of the APIs in jQuery that…

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…