Files
ionic-framework/hacking/tabsAngular.html
2013-09-18 08:56:52 -05:00

54 lines
1.6 KiB
HTML

<html ng-app="tabsTest">
<head>
<meta charset="utf-8">
<title>Tab Bars</title>
<!-- Sets initial viewport load and disables zooming -->
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<link href="/vendor/font-awesome/css/font-awesome.css" rel="stylesheet">
<link rel="stylesheet" href="../dist/ionic.css">
<script src="/vendor/angular/1.2.0rc2/angular-1.2.0rc2.min.js"></script>
<script src="/vendor/angular/1.2.0rc2/angular-touch.js"></script>
<style>
.content {
height: 100%;
}
</style>
</head>
<body>
<tabs>
<tab-controller title="Home">
<header class="bar bar-header bar-dark">
<h1 class="title">Tab Bars</h1>
</header>
<content has-header="true" has-tabs="true">
<h1>Home</h1>
</content>
</tab-controller>
<tab-controller title="About">
<header class="bar bar-header bar-dark">
<h1 class="title">About</h1>
</header>
<content has-header="true" has-tabs="true">
<h1>About Us</h1>
</content>
</tab-controller>
<tab-controller title="Settings">
<header class="bar bar-header bar-dark">
<h1 class="title">Settings</h1>
</header>
<content has-header="true" has-tabs="true">
<h1>Settings</h1>
</content>
</tab-controller>
</tabs>
<script src="TabBarController.js"></script>
<script src="TabAngular.js"></script>
<script>
angular.module('tabsTest', ['ionic.ui']);
</script>
</body>
</html>