My app is a food scanner. Currently, when users scan a barcode it redirects them to the page for the product with that barcode. I am using
$state.transitionTo to achieve this behaviour.
Any help would be appreciated. Thanks!