fix database name in view
[angular-mojolicious.git] / templates / Cookbook.html.ep
1 <html>
2  <head>
3   <title>&lt;angular/&gt; CookBook examples</title>
4  </head>
5 <body>
6
7 <h1>&lt;angular/&gt; CookBook examples</h1>
8
9 <div>
10 Examples from
11 <a href="http://angularjs.org/">&lt;angular/&gt</a>
12 <a href="http://angularjs.org/Cookbook">Cookbook</a>
13
14 <ul>
15
16 % foreach my $path ( sort glob('templates/Cookbook/*') ) {
17 %       my ( $file, $name ) = ( $1.$2.$3, $2 ) if $path =~ m{^.+/(\d-)([^/]+)(.html)};
18
19 <li>
20 <a target="<%= $name %>" href="/Cookbook/<%= $file %>"><%= $name %></a>
21 <a target="angular.js-wiki" href="http://angularjs.org/Cookbook:<%= $name %>">wiki</a>
22
23 % }
24
25 </ul>
26
27 </div>
28
29 </body>
30 </html>