Skip to content
Permalink
Browse files

Have to use explicit injection in strict mode

  • Loading branch information...
raitisbe committed May 31, 2019
1 parent 9caf8dc commit 99155d8312595a0984095cf709ee22e19f188b17
Showing with 2 additions and 2 deletions.
  1. +2 −2 components/ows/ows.js
@@ -13,11 +13,11 @@ define(['angular', 'map', 'ows_wms', 'ows_wmts', 'ows_wfs', 'ows_nonwms', 'perma
* @name hs.ows.directive
* @description Add core ows panel html template to the map (Select source format and connect to source)
*/
.directive('hs.ows.directive', function(config) {
.directive('hs.ows.directive', ['config', function(config) {
return {
template: require('components/ows/partials/ows.html')
};
})
}])
/**
* @memberof hs.ows
* @ngdoc controller

0 comments on commit 99155d8

Please sign in to comment.
You can’t perform that action at this time.