Added directive and factory for sample data