Fixed issue with unit tests:loading mocked ui.bootstrap, using $templateCache in directive tests