angular/angular.js — pull request #10432 by petebacondarwin (2014-12-12 10:28:17+00:00)
Title: WIP: perf(ngInclude): cache linkFns for each template

This is probably not the best way to do this but here is a working Proof of Concept.

See http://www.bennadel.com/blog/2738-using-ngrepeat-with-nginclude-hurts-performance-in-angularjs.htm