Adding sample application using directive