Is it possible to change templateUrl on the fly by passing values in the directive\'s scope? I want to pass data to controller that will render the page based on the data th
I've changed the answer from pkozlowski.opensource a little.
From:
var boom = $parse(iAttrs.data)(scope);
To:
var boom = scope.data.myData
That worked for me and it's possible to use
in the directive.