developed auto-complete directive