enable directive to render on index