Manage case when ngModel defines a simple variable (which cannot be
defined in the $scope).