Update karma.config.js, change ngRoute to ui-router + global pattern