HI Sathish, I suggest you have dropdown "ng-onchange" even handler in the root controller and use $scope.$broadcast (if the remaining controllers are in child scope of the root controller or use $rootScope.$broadcast to broadcast to any interested controller) to broadcast the change and pass on any data as required. The pages that need to be refreshed needs to have their controllers have a $scope.$on to listen to the broadcast event and make changes to the bound variables - and angular JS will automatically update the view thereby doing the "page refresh" as you want.
Not sure if sounded too cryptic. Thanks, Trishul On Tuesday, 17 June 2014 13:28:06 UTC+5:30, sathish Jayakar wrote: > > I have a drop down in root controller, and any change in the dropdown i > need to refresh the below page and each page having different controllers. > can any one suggest on this. > > Thanks > JS > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
