Add discrete controllers for directive demos