I\'m using directive to display html snippets.
And templateUrl inside the directive, to be able to include snippets as html file.
The directive does not wor
You can use ng-include, watching the attrs. Like this:
app.directive("myTemplate", function() { return { restrict: 'E', replace: true, link: function(scope, elem, attrs) { scope.content = attrs.snippet; attrs.$observe("snippet",function(v){ scope.content = v; }); }, template: "" }; });