add convenience hook to app injector
add karma/jasmine config