Minor update to directive to check presence of ngModelController object