Remove nav button for entire set of views


#1

In my app’s main template I added a search button in the top nav:

<ion-side-menu-content>
    <ion-nav-bar class="bar bar-positive">
        <ion-nav-buttons side="left">
            <button aria-label="search" ui-sref="search"></button>
        </ion-nav-buttons>
    </ion-nav-bar>

    <ion-nav-view></ion-nav-view>
</ion-side-menu-content>

I want to cancel the button for an entire section of my router, for example:

.state('account', {
        url: '/account',
        template: `
            <ion-nav-view>
                <ion-nav-buttons side="left"></ion-nav-buttons>
                <ion-view></ion-view>
            </ion-nav-view>
        `,
        cache: true,
    })

        .state('account.child2', ...)
        .state('account.child1', ...)  

This is not working.

How can I override the ion-nav-buttons for this view and all of it’s children?