Ionic - How to remove the title bar?

How to remove title bar in ionic? I want to remove the login header inside my header.

my code

 <ion-view hide-back-button="true"> <ion-nav-buttons side="left"> <button menu-toggle="left" class="button button-icon icon ion-navicon"></button> <h1 class="title"><img class="title-image" src="img/header_logo.png" /></h1> </ion-nav-buttons> <ion-content class="has-header"> <ion-list> <ion-item ng-repeat="playlist in playlists" href="#/app/home/{{playlist.id}}"> {{playlist.title}} </ion-item> </ion-list> </ion-content> </ion-view> 

Current problem

enter image description here

+6
source share
2 answers

How about this:

 <ion-view title=''> 

Put any html content inside the header and it will display as html.

 <ion-view title='<img class="title-image" src="images/logo.png" />'> 
+8
source

Add this to your opinion

 <ion-view hide-nav-bar="true" hide-back-button="true" view-title="welcome"> 
+9
source

Source: https://habr.com/ru/post/973476/


All Articles