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

Fix your code #1

Closed vogloblinsky closed 9 years ago

vogloblinsky commented 9 years ago

First your declare your module without ,[] angular.module("static-include", [])

Secondly, it will be better to name your directive staticInclude, so instead of ng-include, people can just replace ng by static.

Regards

codenamezjames commented 9 years ago

Fixed thanks!