Update stories list after search: The fix was to replace $scope.stories as a property with $scope.stories as a function returning the value of "$state.current.data.cachedStories". It was a bad idea to have the store the stories in two separate list and try to keep them in sync. This should simplify the next tasks.