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