After i hit search to change view it doesn't redirect me to the new view

i’m trying to make an instagram like app for my school project and i got stuck on the search for new users. When i press the search bar it’s supposed to take me to a new view using state.go in my controller, the url changes but the view is the same
``
.state(‘tab.search’, {
url: ‘/search’,
views: {
‘tab-search’: {
templateUrl: ‘…/templates/tab-search.html’,
controller: ‘SearchCtrl’
}
}
})

 <ion-nav-buttons side="left" >
   <div  ng-click="gotosearch()"  class="bar bar-header item-input-inset">
 <label href="#/tab/dash" class="item-input-wrapper">
 <i class="icon ion-ios-search placeholder-icon"></i>
<input  type="search" placeholder="Search">
</label>
</div>
</ion-nav-buttons>


$scope.gotosearch = function() {
console.log("damn");
$state.go('tab.search');
};

the function gets executed but the view doesn’t change every other view change works fine