angular/di.js — pull request #28 by kalisjoshua (2014-03-18 14:31:15+00:00)
Title: Refactor - DRY `instance` setting

Some code was noted by a comment to be dry'd up. Refactored the code into
local function with all dependencies passed in as arguments.