title: mat-paginator not working well with [hidden]
body: <p>Recently when I worked with &quot;mat-table&quot; , had to use &quot;mat-paginator&quot; and found out that the [hidden] attribute does not have any effect on it.
  Then i ended up using</p>
  <blockquote>
  <p><code> &lt;mat-paginator [ngStyle]=&quot;{display: nodes.length &gt;0 ? 'block' : 'none'}&quot; [pageSize]=&quot;50&quot; [pageSizeOptions]=&quot;[5, 25, 50, 100]&quot;&gt;</code></p>
  </blockquote>
  <p>on the contrary *ngIf is working, But.. its giving me trouble with dynamic data and observable.</p>
  <p>Any thoughts on how to do it right please??</p>