Fixes for stand-alone-chart-sample.html. Elimination of dependencies.
Fix directive  to decouple services from directives.