angular.isDefined uses `typeof value` so it's safe to use `==` rather than `===`. So I'd suggest that we use angular.isDefined everywhere.