mgcrea/angular-strap — pull request #1301 by guyklainer (2014-11-19 09:39:47+00:00)
Title: prevent multiple loading of the same template.

The issue is that the same template was loaded as mush as the directive was used.

My assumption is that the templateCache service didn't had a chance to save the template from the first fetch so he keep sending http requests each time.

solution:
save array of the promises and just if the template key is not in the array, fetch it.