add interactive directive to example