I have added a dependency to the bower.json and I would like to use it in a angularJs service or controller.
When I use the library inside a web page, everything works correctly because the dependencies are loaded first. This is not the case when I am running unit tests, where dependencies results in an undefined object and my test fails.
How can I import bower-defined dependencies in an angularJs controller for testing purpose?