Change throw to a $log.error() call

OK, maybe throw wasn't the right call. But there are still Angular error messages being swallowed up by this mega-promise if the injection is mis-configured (typo in the parameter name, forgot to include the file in your page, etc.).