I would like to add an answer to squiroid and explain to you why it works. I will give you a very easy way to understand, since this was a very common problem for me when I started.
Angular -, . , , , A B (, ng-), ( ). , angular ( , $, $timeout ..),
, , A, $scope B, C. , C A, ? , C, B , A . . , , . , C, , A.
, $watch ( $), . , , C, , , A, .
$scope.showButton document.is_provided. angular, document.is_provided. , , , $scope.showButton. showButton .
, , , :
http://jsbin.com/vojoso/edit?js,console,output
. , .
$watch , .
, , .
, :)