Closed hotdog1987 closed 7 years ago
Looks like the
$httpBackend.whenGET('app/components/Notifications/notification_template.html')
was incorrect. Instead i tried
$templateCache.put('app/components/Notifications/notification_template.html', '<div class="ui-notification custom-template"></div>');
The reason being that the element was never created and that the ui notification points to undefined template. Once, the cache has the template it went through.
Sorry for any inconvenience caused.
Hello, I wrote a custom service inside which i have calls to pop up the angular-ui-notification:
Now, when I'm write unit test to another service which has the above service as dependency, i'm getting this error:
UNIT TEST:
Any help would be greatly appreciated. Thanks.