I am attempting to utilize an ng-template to iterate through my args in order to create an indented menu content. Unfortunately, I have encountered issues with ng-include not working as expected. I have tried adding a quote but it still does not work.
For reference, here is a simple example: http://codepen.io/elvis-macak/pen/meropX
body(ng-app="app",ng-controller="MainController")
script(type='text/ng-template', id="data-list.html")
span {{key}}
span {{value}}
div
div(ng-repeat="data in datas")
h3 {{data.date }}
ul
li(ng-repeat="(key, value) in data")
span {{key}}
span {{value}}
ul
li(ng-include, src="data-list.html", ng-repeat="(key, value) in data")
The issue I am facing is that it cannot print out the script content inside.
Any assistance on why this may be happening would be greatly appreciated.