meanmenu with angular cli

I’m using a HTML template in Angular CLI project, I copied and pasted all the css and JS links into my index page, the menu is responsive with page size all the time until it gets to 767 pixel wide then it should change to the mobile menu but it doesn’t format right, it just changes to links in a black box and I can’t find a solution for that, did anyone here faced the same problem can help me?