removed superfluous check for a falsey  passed to controller constructor in directive snippet