throw on attempting to inject undefined

came across this today and was slightly confused - figured a friendlier error
on the "yo cheapskate, you didn't mean to do that" tip might be better than
TypeError: Cannot read property 'scope' of undefined
Merge pull request #1 from natlownes/throw-on-inject-undefined

throw on attempting to inject undefined