add controller & directive