test(ngMessages): use strict-di for ngMessages tests

This will hopefully prevent issues similar to the one fixed by 63b100c0

Closes #7477