<ion-view view-title="{{name}}">
    <ion-nav-bar class="nav-bar-container" nav-bar-transition="ios" nav-bar-direction="exit" nav-swipe="">
        <ion-nav-buttons side="left">
             <button class="icon ion-chevron-left" style="font-size: 16px;border: none;background: white;" ng-click="go('home')">返回</button>
        </ion-nav-buttons>
    </ion-nav-bar>

	<ion-content overflow-scroll="true" style="overflow: hidden;" class="has-header">
		<div ng-include="currentTab"></div>
		<div class="tabs">
		  <a ng-repeat="tab in tabs" class="tab-item" 
		  	ng-class="{active:isActiveTab(tab.url)}"
		  	ng-click="onClickTab(tab)">{{tab.title}}
		  </a>
		</div>
	</ion-content>
	<script id="line.html" type="text/ng-template">
		<div>主页</div>
	</script>	
	<script id="tn.html" type="text/ng-template">
		<div>
			<main id="main" legend="legend" item="item" data="data" num="num"></main> 
		</div>
	</script>
	<script id="zhou.html" type="text/ng-template">
		<div>
			<line id="line" legend1="legend1" item1="item1" data1="data1" num="num"></line> 
		</div>
	</script>
	<script id="strom.html" type="text/ng-template">
		<div>效率云图</div>
	</script>
</ion-view>


	
	