-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Under ng-if vertical orientation works wrong attrs.$observe('orientation', ...
pos = 'top';
posOpp = 'bottom';
values still "left" and "right"
faster way to solve it - put watchers under timeout
$timeout(function() {
// listen for changes to values
scope.$watch('min', setMinMax);
scope.$watch('max', setMinMax);
scope.$watch(function () {
return modelMin();
}, setModelMinMax);
scope.$watch(function () {
return modelMax();
}, setModelMinMax);
}, 0);
Metadata
Metadata
Assignees
Labels
No labels