tidy up form, adding $scope.settings.name