Chat input in separate directive