Use jquery's extend method instead of angular.copy for the object passed to the directive. Added warning to let the user know he may have forgotten single quotes in an attribute.