/
githubmirror
/
angular.js
Обзор
Документация
Войти
/
githubmirror
/
angular.js
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
docs/config/templates/examples/index.template.html
21 строка
742 B
Peter Bacon Darwin
chore(docs): bring in all templates from dgeni-packages
18 ноя 2016, 14:28
18 ноя 2016, 14:28
17e98ac
Код
Авторство
О чём код?
<!doctype html> <html lang="en"{% if doc.example['ng-csp'] %} ng-csp{% endif %}> <head> <meta charset="UTF-8"> <title>Example - {$ doc.id $}</title> {% for stylesheet in doc.stylesheets %}<link href="{$ stylesheet.path $}" rel="stylesheet" type="text/css"> {% endfor %} {% for script in doc.scripts %}<script src="{$ script.path $}"></script> {% endfor %} {% if doc.example.fixBase -%} <script type="text/javascript"> angular.element(document.getElementsByTagName('head')).append(angular.element('<base href="' + window.location.pathname + '" />')); </script> {%- endif %} </head> <body {% if not doc.example['ng-app-included'] %}ng-app="{$ doc.example.module $}"{% endif %}> {$ doc.fileContents $} </body> </html>