Is there a way to pass a templateUrl
to my directive. I understand I can use transclusion, but that seems too much. For example, I have a widget
directive that I want to fill with specific html. Is there a way to pass it in like:
<div widget templateUrl="template1.html"></div>
<div widget templateUrl="template2.html"></div>