ui.unique
is a module from angular-ui-utils
. That has to be included in karma conf and injected to the app as well, if being used.
var myApp = angular.module('myApp', ['ui.bootstrap', 'ui.utils']);
or you can specifically inject ui.unique
instead of injecting ui.utils
, if only unique module is used.