Fix angular modules getting injected in the right order (no idea how this worked before)