add $ based function annotation support for DI