Fixed dependencies injection to controllers when minifing