# Category: karma-mocha

## Upgrading angularjs to 1.7 then get this [$injector:modulerr] http://errors.angularjs.org/1.7.8/$injector/modulerr

Upgrading application to angularjs 1.7 and this error appear only when i make production build.js file. Otherwise developement works great.

## Scope of first modal is not visible in Unit Test when the controller has two modals defined

The controller in my code has two modals defined in it. The modal and its scope are created during initialization.