Most of what you did looks good, what is the exact issue you are 
experiencing?

One thing that springs to mind, is that this code: 

this.viewer = new Cesium.Viewer('cesiumContainer');

should not be in a service, but in a component, and then probably in the 
ngAfterViewInit hook.

Regards
Sander

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to