Hi Michael,

I am not having any problems retrieving $routeParams.itemId. I can get that 
value fine, the problem is that the feed for the app gets replaced every 15 
minutes and that value gets assigned to another article all together. So in 
order to sync data for the previews article that had that value is 
impossible. So $routeParams.itemId is not a good value for streamID. it 
needs to be set to a value that is in the feed as an element called PostID. 
So I tried this:

$scope.stories[$scope.whichItem].PostID

But it is showing undefined at the time it called in the controller. There 
has to be a way to tell angular that the value 
for $scope.stories[$scope.whichItem].PostID will exist when the view loads.

-- 
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.

Reply via email to