added dependencies for offline mode support and barchart directive done with example