Please forgive me if I am suggesting something that you have already tried, but if you need to capture the value of $routeParams.itemId at any one moment you can use angular.copy();
$scope.streamid = angular.copy($routeParams.itemId); This will set the value of your $scope variable to the value of $routeParams.itemId without creating a binding to it. Now the two values can change independently and not mess with the other one. -- 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.
