home.directive("content",function(){
return { restrict:"E", templateUrl:"" } });
templateUrl can return a function:
home.directive('componentA', function() { return { restrict: 'E', link: function(scope, element, attrs) { // }, templateUrl: function(elem,attrs) { return attrs.templateUrl || './default.html' } } });
templateUrl can return a function: