My question is very similar to Testing Angular Controllers defined like angular.module('myApp').controller(. Rather than hijacking that question, I thought I would ask mine separately. when I use the proposed answer of the form:
describe('evCalcApp controllers', function(){
beforeEach(module('evCalcApp.controllers'));
var scope, ctrl
beforeEach(inject(function($controller, $rootScope) {
scope = $rootScope.$new();
ctrl = $controller('MyMileageCalcController', {$scope: scope});
}));
That works fine for the first controller. However, if you were testing more than one controller in the same file, how would you inject the second controller (let's just call it MyCtrl2)?