Hi guys.
I’m trying to pass parameters between states in my app and I am receiving the following error:
Error: Could not resolve ‘previewMoment/:file:///storage/emulated/0/Android/data/com.ionicframework.starter/cache/modified.jpg?1400606556769/:undefined/:test’ from state ‘tabs.capture’
Here is a snippet of the code below, can anyone see anything immediately obvious?
.state('previewMoment', {
url: "/previewMoment/:momentImage/:momentAudio/:momentTitle",
templateUrl: "templates/previewMoment.html",
controller: 'previewMomentCtlr' })
$scope.btnPreviewMoment = function(){
$state.go('previewMoment/:' + $scope.captureDetails.imageURI + '/:' + $scope.captureDetails.audioURI + '/:' + $scope.captureDetails.momentTitle);}
.controller('previewMomentCtlr', function ($scope, $stateParams) {
$scope.preview = {};
$scope.preview.title = $stateParams.momentTitle;
$scope.preview.imageURI = $stateParams.momentImage;
$scope.preview.audioURI = $stateParams.momentAudio;})
Basically on tabs.capture I have a button, when I press the button I want to move to state previewMoment and I want to pass 3 parameters from the tabs.capture scope to the previewMoment state.
From the reading I’ve done my code seems correct, but clearly I am missing something.
I’d greatly appreciate any advice 
Thanks a million!
(just edited to add pre-formatted code blocks)
