HTML
<ion-view view-title="服務" hide-nav-bar="true"> <ion-content class="padding"> </ion-content> </ion-view>
Controller
angular.module('starter')
.controller('PublicCtrl', function($scope, $state, $http, $ionicPopup, AuthService,$rootScope) {
// 顯示控制器
$scope.$on('$ionicView.enter',function(){
$rootScope.hideTabs=false;
})
$scope.show=false;//控制標題欄是否顯示
$scope.transrate=0;//控制標題欄透明度
});
