Sha256: 00eccb86426aefbbcd5aa37e04da028330597756bfe507c3bf139d2500da66ef
Contents?: true
Size: 899 Bytes
Versions: 22
Compression:
Stored size: 899 Bytes
Contents
!(angular => { 'use strict'; class SingleResultShowController { constructor($routeParams, Query, Result, PageTitleManager) { this.resultId = $routeParams.resultId; this.queryId = $routeParams.queryId; this.queryVersionId = $routeParams.queryVersionId; this.query = new Query(); this.query.initItem(this.queryId, this.queryVersionId).then(query => { this.panelTitle = 'Result id=' + this.resultId + ' for "' + query.title + '"'; PageTitleManager.title = this.panelTitle ; }); this.result = new Result(); this.result.initItem(this.resultId); } } SingleResultShowController.$inject = ['$routeParams', 'Query', 'Result', 'PageTitleManager']; angular .module('alephControllers.singleResultShowController', ['alephServices']) .controller('SingleResultShowController', SingleResultShowController); }(angular));
Version data entries
22 entries across 11 versions & 1 rubygems