Ensure controller is loaded after fakeapi if used

@maxfliri
Don't load fakeapi for jasmine tests

@maxfliri
Initialise require on document ready

@maxfliri