codenamezjames / angular-static-include

Angular directive to include files "staticly" E.G. without creating a new child scope. thanks to this SO question http://stackoverflow.com/questions/12393703/how-to-include-one-partials-into-other-without-creating-a-new-scope
MIT License
12 stars 3 forks source link

Using $templateRequest to get templates #6

Closed dpsxp closed 8 years ago

dpsxp commented 8 years ago

This is about the #5 issue, also I made a little change about the eval. The angular already evaluates the attribute for you when inside the link function.

What's your thoughts about this?

dpsxp commented 8 years ago

One thing, $templateRequest is not avaiable in angular 1.2 so doing this we change the support to 1.3+.