There is an application on angular, tabs. When creating a new tab tabs I pass through the directive content template
return { restrict : 'E', templateUrl : 'tab-content.html' } If I add students to the content, then when adding the following tab, students are saved, is it possible to transfer the original templateUrl : 'tab-content.html' when creating a new tab templateUrl : 'tab-content.html' ? I tried to isolate the scop - scope : {} , but then my template is not transmitted at all.