Skip to content

Commit 5a3fba6

Browse files
committed
Improvement #116 Allow access to $scope
1 parent 87a03a8 commit 5a3fba6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/scripts/controller.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,10 @@ export default class AngularColorPickerController {
141141
this.api.getElement = () => {
142142
return this.$element;
143143
};
144+
145+
this.api.getScope = () => {
146+
return this.$scope;
147+
};
144148
}
145149

146150
reInit(newValue) {

0 commit comments

Comments
 (0)