fix(loader): don't rely on functions defined in Angular.js

The loader had not been tested since minErr had been implemented so was breaking the phonecat tutorial application.  Moreover I had added a call to `assertNotHasOwnProperty`, not understanding that loader does not get access to Angular.js functions.

The loader now has its own copies of minErr (via AngularFiles.js) and `assertNotHasOwnProperty`.