I want help to get value in templateUrl. I already go through similar question like this Set templateUrl base on attribute in directive
My Goal
I want to set one attribute while calling directive from HTML. This attribute will have dynamic value from the json object. And I want this attribute in directive's templateUrl function.
You can see here to understand my issue more - jsfiddle
I want to render checkbox or radio template based on attribute value.
Please help.
I know ng-include
approach so please suggestion alternate solution.