Open AlexPikalov opened 9 years ago
I faced with a filtering issue. If ok-kind and isotope-container are registered within different scopes filtering does not work. Particulary if a page layout is something like this
ok-kind
isotope-container
<div ok-kind>... <div> <div ng-if="condition"> ... <div isotope-container></div> ... </div>
the root cause is scope.$emit within opt-kind link-function
scope.$emit
opt-kind
emitOption = function (option) { optionsStore.store(option); return scope.$emit(optPublish, option) }
Quick solution is to replace scope.emit -> scope.$broadcast
scope.emi
scope.$broadcast
+1
I faced with a filtering issue. If
ok-kind
andisotope-container
are registered within different scopes filtering does not work. Particulary if a page layout is something like thisthe root cause is
scope.$emit
withinopt-kind
link-functionQuick solution is to replace
scope.emi
t ->scope.$broadcast