/**
 * HistoryCtrl Controller
 * Extracted from bookings module
 */

Bookings.controller('HistoryCtrl', ['$scope', '$uibModalInstance', 'title', 'historyEntries', 'users', function ($scope, $uibModalInstance, title, historyEntries, users) {

	$scope.users = users;
	$scope.title = title;
	$scope.historyEntries = historyEntries;

	$scope.cancel = function () {
		$uibModalInstance.close(false);
	};

}]);
