How can I hide (and / or change the direction of the BackButton) when I have a condition in the View?
I'm trying this way:
if (window.localStorage.getItem("fonecedor_carrinho") != '0' && window.localStorage.getItem("fonecedor_carrinho") != null){
$scope.hideBackButton = false;
}else{
$scope.hideBackButton = true;
}
But it does not work. Any suggestions?