Inject $rootScope with underscores in DatesControllerSpec.
MainControllerSpec.
Inject $rootScope without underscore to controller tests.