NLeSC/Cesium-NcWMS

View on GitHub
app/scripts/terrain/terrain.directive.js

Summary

Maintainability
A
1 hr
Test Coverage
(function() {
  'use strict';

  function terrainToggleDirective() {
    return {
      restrict: 'E',
      templateUrl: 'scripts/terrain/terrain.directive.html',
      controller: 'TerrainController',
      controllerAs: 'tr'
    };
  }

  angular.module('eWaterCycleApp.terrain').directive('terrainToggleDirective', terrainToggleDirective);
})();