correct ordering of html injection and app injection dependense.