Fix model template

This fixes the model template by using the 'defaultsTo' syntax instead of 'defaultValue'.