require angularjs instead of creating a Function to enable debugging

By setting some variables on global, we can require angularjs instead of creating a new Function and executing it.

That way, angular's code is debugable.

I could not run the tests with `npm test` so I changed the require statements there, e.g. `require('../')` instead of `require('angular')`. Is this ok?