registering chart service/controller api changed.

chart service injection works asynchronously.