It would seem to me cleaner to do something like:

```
$scope.$watch($attr.ngIf, function ngIfWatchAction(value) {
  ...
  if (!!value) {
    ...
  }
...
});
```