{"size": 497, "ext": "js", "max_stars_repo_path": "src/modules/demo/wizards/holidayCarPage.js", "max_stars_repo_name": "viraweb123/mblowfish", "max_stars_repo_stars_event_min_datetime": "2020-06-09T16:16:48.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-09T16:16:48.000Z", "max_issues_repo_path": "src/modules/demo/wizards/holidayCarPage.js", "max_issues_repo_name": "viraweb123/mblowfish", "max_issues_repo_issues_event_min_datetime": "2020-06-03T11:15:45.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-02T10:52:13.000Z", "max_forks_repo_path": "src/modules/demo/wizards/holidayCarPage.js", "max_forks_repo_name": "viraweb123/mblowfish", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 21, "max_forks_count": null, "avg_line_length": 19.88, "max_line_length": 52, "alphanum_fraction": 0.6800804829}
import templateUrl from './holidayCarPage.html';

export default {
	title: 'Car',
	description: 'Which car are you intrested to use.',
	templateUrl: templateUrl,
	controllerAs: 'ctrl',
	controller: function($wizard) {
		'ngInject';

		function createSetterGetter(key) {
			return function(date) {
				if (_.isUndefined(date)) {
					return $wizard.getData(key);
				}
				$wizard.setData(key, date);
			}
		}

		this.carModel = createSetterGetter('carModel');
	},
	nextPage: 'holidayFinalPage'
}

