ng-show="false" seems like bad angular style. I think it would make more sense to use the $modal service in angular-ui, since this has proper angular bindings...