I want to hide button on specific action. For example when i show the Organization units record I want to hide locate button. Which is in the table grid.
Grid is showing the records of cities and organization units. I don't want a locate button to show when viewing organization units.
    $scope.showOrganizationunit=function(){
     show organization unit data 
      Hide button ( how to do it)
      can we use nghide here for the button
}
 
    