I have a <tabs> with 2 pane.  When you click on the 2nd tab it broadcast 1 
event - $scope.$broadcast('PaneSelected', pane).  The problem I am having 
is the listener gets called 2 times with different $scope.$id.  

The 1st call, $scope.$id = 35 & $scope.$parent.$id = 9.  The 2nd time, 
$scope.$id = 36 & $scope.$parent.$id = 35.  Is my only option to add a 
check bases on $scope.$parent.$id ==  ($scope.$id-1)?

<div class="row program-group-control">
    <div class="content program-groups">
        <div class="details">
            <div id="program-groups" class="container">
<tabs id="mainTabs">
<pane title="Program Groups" show="true">
<div ui-view="programGroup"></div>
</pane>
<pane title="Services" show="true">
*<div ui-view="service"></div>*
</pane>
</tabs>
            </div>
        </div>
    </div>
</div>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/2b4b647e-8b87-421e-a471-8a4dc444376bn%40googlegroups.com.

Reply via email to