Just like 'complete', scope.$apply() may be needed after updating the flag.
var ready = function() {
angular.isFunction(scope.ready) && scope.$apply(scope.ready);
// Need to keep open boolean in sync.
scope.open = true;
+ scope.$apply();
// If tab support is enabled we need to re-init the tabs
Please see the demo.
Just like 'complete',
scope.$apply()
may be needed after updating the flag.