UNPKG

generator-fatarrow

Version:
30 lines (24 loc) 1.4 kB
<!DOCTYPE html> <html xmlns:ng="http://angularjs.org" xmlns:app="ignored" <%% if (typeof appName === 'undefined') { %>ng-app="app"<%% } else { %><%% if (!!appName) { %>ng-app="<%%= appName %>"<%% } %><%% } %>> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>fatarrow</title> <meta name="description" content="AngularJS Reference Architecture" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <base href="/" /> <!-- ClickJacking Defense begin (https://www.owasp.org/index.php/Clickjacking_Defense_Cheat_Sheet) --> <style id="antiClickjack">body{display:none !important;}</style> <script>(function(w){if(w.top===w.self){var a=w.document.getElementById('antiClickjack');a.parentNode.removeChild(a);}else{w.top.location=w.self.location;}}(window));</script> <!-- ClickJacking Defense end --> <%% _.forEach(styles, function (style) { %><link rel="stylesheet" href="<%%= style %>" /> <%% }); %> <!-- When you load angular at the bottom, you need to create the "ng-cloak" rules yourself --> <style>[ng\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak{display:none;}ng\:form{display:block;}</style> </head> <body ng-cloak class="ng-cloak"> <ng:view></ng:view> <%% _.forEach(scripts, function (script) { %><script src="<%%= script %>"></script> <%% }); %> </body> </html>