Sha256: c8e303eea6051b6cc31941740d580d36ddab0be454c07673efa25204772d90f7

Contents?: true

Size: 611 Bytes

Versions: 10

Compression:

Stored size: 611 Bytes

Contents

!(angular => {
  'use strict';

  class ResultsController {
    runQuery() {
      this.resultRunner.run();
    }
  }

  function resultsComponent() {
    return {
      restrict: 'E',
      scope: {
        'query': '=',
        'results': '=',
        'resultRunner': '='
      },
      templateUrl: 'results',
      controller: 'ResultsController',
      controllerAs: 'resultsCtrl',
      bindToController: true
    };
  }

  angular
    .module('alephDirectives.results', ['alephServices'])
    .controller('ResultsController', ResultsController)
    .directive('results', resultsComponent);

}(angular));

Version data entries

10 entries across 5 versions & 1 rubygems

Version Path
aleph_analytics-0.0.4 public/assets/angular/directives/result/results_directive.js-fcbf9750790823a11ca313e630bd2b0f.es6
aleph_analytics-0.0.4 app/assets/javascripts/angular/directives/result/results_directive.js.es6
aleph_analytics-0.0.3 app/assets/javascripts/angular/directives/result/results_directive.js.es6
aleph_analytics-0.0.3 public/assets/angular/directives/result/results_directive.js-fcbf9750790823a11ca313e630bd2b0f.es6
aleph_analytics-0.0.2 public/assets/angular/directives/result/results_directive.js-fcbf9750790823a11ca313e630bd2b0f.es6
aleph_analytics-0.0.2 app/assets/javascripts/angular/directives/result/results_directive.js.es6
aleph_analytics-0.0.1.alpha public/assets/angular/directives/result/results_directive.js-fcbf9750790823a11ca313e630bd2b0f.es6
aleph_analytics-0.0.1.alpha app/assets/javascripts/angular/directives/result/results_directive.js.es6
aleph_analytics-0.0.0.alpha app/assets/javascripts/angular/directives/result/results_directive.js.es6
aleph_analytics-0.0.0.alpha public/assets/angular/directives/result/results_directive.js-fcbf9750790823a11ca313e630bd2b0f.es6