Hacker News new | ask | show | jobs
by optymizer 4420 days ago
> As far as I know it's not possible to completely remove an Angular component from the DOM

Wouldn't ng-if be appropriate for this?

1 comments

Ah yes, that's exactly what `ng-if` is for. Thanks for pointing that out. The only downside is that it creates another nested scope, which can be surprising.