Why the need for directives?


#1

Can someone explain why theres a need to set up directives for the search bar? It seems way too complex for a simple search function isnt it? Is there a cleaner way of coding for it?

I refer to 2 examples.


#2

Mannerism and exaggeration ? :wink: