re-organizing the demo page and the directive src