angular/angular.js — pull request #1849 by lrlopez (2013-01-20 20:05:32+00:00)
Title: feat($compile): Allow using functions as templates in directives

Added dynamic template support in directives:
- The call will include the directive attributes common object as a parameter
- This allows generating templates on the fly
- It also applies to templateUrl