-1
我想隐藏特定动作的按钮。例如,当我显示组织单位记录我想隐藏定位按钮。这是在表格中。使用示波器在angularjs中显示和隐藏按钮
网格显示城市和组织单位的记录。查看组织单位时,我不想显示定位按钮。
$scope.showOrganizationunit=function(){
show organization unit data
Hide button (how to do it)
can we use nghide here for the button
}
你尝试过什么?这个问题有很多可用的解决方案。请参阅:http://stackoverflow.com/questions/12599637/angularjs-ng-show-ng-hide – Rayon