title: Can't fix ExpressionChangedAfterItHasBeenCheckedError
body: <p>I'm building my own <code>PaginatorComponent</code>. I need to wrap that <code>PaginatorComponent</code> in my own, app based,  <code>MyPaginatorComponent</code>.
  I'm getting <code>ExpressionChangedAfterItHasBeenCheckedError</code> and I don't know how to fix it.</p>
  
  <p>Here is stackblitz reproduction: <a href="https://stackblitz.com/edit/angular-f28v5j?file=src%2Fapp%2Fmy-paginator.component.ts" rel="nofollow noreferrer">https://stackblitz.com/edit/angular-f28v5j?file=src%2Fapp%2Fmy-paginator.component.ts</a></p>
  
  <p>Can anyone help?</p>