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
Change directive to creating element, remove unnecessary params #7
Little fix if you dont mind ofc, i think this feature have more advantage with element-like style cuz:
<static-include src='path'></static-include>
looks really better than:
<div static-include='path'></div>
and names like $scope is not really good practice in link-function IMHO
Little fix if you dont mind ofc, i think this feature have more advantage with element-like style cuz:
<static-include src='path'></static-include>
looks really better than:<div static-include='path'></div>
and names like $scope is not really good practice in link-function IMHO