chore(pubspec): Upgrade DI to 1.2.3.
feat(compiler): Backport DirectiveBinder API from #1178 to allow
gradual migration.

Originally authored by @yjbanov