Search code examples
angularmaterialize

new Materialize CSS with Angular how to impl?


I just want to know what is the best way to implement Materialze in Angular project - I found "ng2-materialize" that helps with that but for that I need to install jQuery that should not be mixed with Angular (what I understood) , the new version of Materiazlize does not need jQuery and althoug had no problem to iplement the styles I could not menage to implement js classes of Materialize and could not find any angular wrapper for it.

I found this How to use materialize-css with angular but is it still the best solution or should I stick with 'ng2-materialize'?


Solution

  • Given that you are building an angular application I would highly recommend you use the ng2-materialize wrapper. This allows you to have a cleaner application, it simplifies the way you handle components, and it eliminates some of the problems that arise when you simply use the materialize JS and CSS.