Now I think I need a service to initialize calendar but how a service communicate with directive?