3
votes
2answers
111 views

Testing directives that uses templates

How can i unit test directives that use templateUrl to load templates? Since $httpBackend is a mock, it will not load templates either. I would like to be able to use something like ...
1
vote
2answers
115 views

What is the best way to implement a loader animation while scripts and resources are loaded in Angular?

I want users of my web application to be presented with an progress bar indicating current progress of loading files and scripts necessary. Preferably showing percentage, but a simple loader gif is ...
1
vote
1answer
302 views

Directive for lazyloading data in AngularJS

I'm currently learning Angular and trying to figure out a good pattern for lazyloading data and structuring code. I'm making an responsive web application, and I would like do be able to define that ...