move playground things

This commit is contained in:
Andrew
2015-03-18 10:56:10 -05:00
parent 4654bcef39
commit 6b37f2c223
9 changed files with 16 additions and 7 deletions

View File

@@ -0,0 +1,35 @@
<!--
EVERYTHING in index.html file will change
Don't feel like you have to learn all of this boilerplate.
It's not important and will change.
-->
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- ES6-related imports -->
<script src="lib/traceur-runtime.js"></script>
<script src="lib/es6-module-loader-sans-promises.src.js"></script>
<script src="lib/extension-register.js"></script>
<script>
register(System);
</script>
<!-- Angular2-related imports -->
<script src="lib/angular2.js"></script>
<script src="lib/zone.js"></script>
</head>
<body>
<div playground-main>
Loading...
</div>
</body>
<!-- Application bootstrap logic -->
<script>
System.import('./main');
</script>
</html>

View File

@@ -0,0 +1,3 @@
<ion-tabbar view-title="My Tabs"></ion-tabbar>
<ion-tabbar view-title="Tabs 2"></ion-tabbar>
<ion-tabbar view-title="Tabs 4"></ion-tabbar>

View File

@@ -0,0 +1,14 @@
import {bootstrap} from 'angular2/core';
import {Component, Template} from 'angular2/angular2';
import {Tabbar} from 'ionic/components/tabbar/tabbar';
import 'ionic/components/tabbar/mixins/android/android-tabbar';
@Component({ selector: '[playground-main]' })
@Template({
url: 'main.html',
directives: [Tabbar]
})
class PlaygroundMain {}
bootstrap(PlaygroundMain)