Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit 3026828

Browse files
committed
fix for the provider problem that was introduced by header/footer
1 parent e1ec70e commit 3026828

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/uiSelectFooterDirective.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uis.directive('uiSelectFooter', function(uiSelectConfig){
1+
uis.directive('uiSelectFooter', ['uiSelectConfig' ,function(uiSelectConfig){
22
return {
33
templateUrl: function (tElement) {
44
// Needed so the uiSelect can detect the transcluded content
@@ -12,4 +12,4 @@ uis.directive('uiSelectFooter', function(uiSelectConfig){
1212
transclude: true,
1313
replace: true
1414
};
15-
});
15+
}]);

src/uiSelectHeaderDirective.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
uis.directive('uiSelectHeader', function(uiSelectConfig){
1+
uis.directive('uiSelectHeader', ['uiSelectConfig' ,function(uiSelectConfig){
22
return {
33
templateUrl: function (tElement) {
44
// Needed so the uiSelect can detect the transcluded content
@@ -12,4 +12,4 @@ uis.directive('uiSelectHeader', function(uiSelectConfig){
1212
transclude: true,
1313
replace: true
1414
};
15-
});
15+
}]);

0 commit comments

Comments
 (0)