I want to use a different template according to model for Detail Grid. I saw 2 links with similar expecting features for this. The first one didn't render anything and the second one render the template, but my AngularJs ng-show is not working. When I use the template 1 (I have 3 templates) directly (to see the results, it works). So, it is only when I use it in the directive that it does not work.