InfomediaLtd/angular2-materialize

When Router changes the page the materialize module.js stops working

Opened this issue · 0 comments

I am having the same issue as phixMe. When i first get to my page the materialize.js carousel is working. Then when i navigate away from my pages with a routerlink the materialize carousel stops working.

      <li><a routerLink="" style="color:black;">Jersey Miners</a></li>
      <li><a routerLink="/italian-menu" style="color:black;">Italian</a></li>
      <li><a routerLink="/checkout" style="color:black;">Checkout</a></li>

I am not using jquery to initialize the object. I am using the M from the 'materialize-css' module. I also have angular materialize loaded behind angular material in the my configuration package.

Please let me know if there is anything i can do to resolve this issue.