Skip to content

Instantly share code, notes, and snippets.

@kutyel
Last active June 21, 2016 06:19
Show Gist options
  • Save kutyel/b0583c62080de4dfa201 to your computer and use it in GitHub Desktop.
Save kutyel/b0583c62080de4dfa201 to your computer and use it in GitHub Desktop.
Angular 2 Template
<!DOCTYPE html>
<html lang="en">
<head>
<title>Angular 2 Famous Painters</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles/app.css">
<!-- 1. Cargar librerías -->
<!-- Polyfill(s) para navegadores obsoletos -->
<script src="node_modules/core-js/client/shim.min.js"></script>
<script src="node_modules/zone.js/dist/zone.js"></script>
<script src="node_modules/reflect-metadata/Reflect.js"></script>
<script src="node_modules/systemjs/dist/system.src.js"></script>
<!-- 2. Configuración de SystemJS -->
<script src="systemjs.config.js"></script>
<script>
System.import('app').catch(console.error.bind(console));
</script>
</head>
<!-- 3. Punto de entrada de la aplicación -->
<body>
<my-app>Loading...</my-app>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment