<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script id="arraystmpl" type="text/x-dot-template">
    {{~it.array:value:index}}
        <div>{{= index+1 }}{{= value }}!</div>
    {{~}}
  </script>
</head>
<body>
  <div id="headertmpl"></div>
</body>
</html>