Just add below lines in your app.js
$ionicConfigProvider.backButton.text('Back').icon('ion-chevron-left');
$ionicConfigProvider.backButton.previousTitleText(false).text(''); // Removes back button text
It may be like as:
app.run(function($ionicPlatform, $rootScope, $ionicLoading) {
// your code
})
.config([...]){
$ionicConfigProvider.backButton.text('Back').icon('ion-chevron-left');
$ionicConfigProvider.backButton.previousTitleText(false).text(''); // Removes back button text
}
$ionicConfigProvider.backButton.text('Back').icon('ion-chevron-left');
$ionicConfigProvider.backButton.previousTitleText(false).text(''); // Removes back button text
It may be like as:
app.run(function($ionicPlatform, $rootScope, $ionicLoading) {
// your code
})
.config([...]){
$ionicConfigProvider.backButton.text('Back').icon('ion-chevron-left');
$ionicConfigProvider.backButton.previousTitleText(false).text(''); // Removes back button text
}
No comments:
Post a Comment