Grunt Build not working with Bower-installed components-Collection of common programming errors

If you have installed ui-bootstrap via bower, you will also need to update your karma.conf.js in order to make the grunt tests pass.

Add an entry for ui-bootstrap-tpls.min.js in the file karma.conf.js:

// list of files / patterns to load in the browser
files = [
  JASMINE,
  JASMINE_ADAPTER,
  'app/components/angular/angular.js',
  'app/components/angular-mocks/angular-mocks.js',
  'app/components/angular-bootstrap/ui-bootstrap-tpls.js',
  'app/scripts/*.js',
  'app/scripts/**/*.js',
  'test/mock/**/*.js',
  'test/spec/**/*.js'
];