Fixed requirejs, materializejs and angular js conflicts