Refactored angular app to new karma, config and setup