Cognizant interview question

How can you access values of a controller inside a directive.

Interview Answer

Anonymous

8 Jan 2019

I answered in 2 different ways which was correct but the interviewer was not convinced, he was keen on getting an answer which he knows. This is ridiculous. A particular problem statement has multiple ways to solve. Being stubborn on a particular solution is so naive..