SmartIT_Extensions/BMC/smart-it-full-helix/scripts/app/common/history-controller.js

14 lines
369 B
JavaScript

"use strict";
(function () {
'use strict';
angular.module('myitsmApp')
.controller('HistoryController', ['$scope', 'historyModel',
function ($scope, historyModel) {
$scope.historyModel = historyModel;
$scope.clearHistory = function () {
historyModel.clearHistory();
};
}
]);
}());