Help understanding ui-router


#1

I’m trying to build an ionic demo that lets a user select a picture, crop it and then store it in s3. I’m stuck on understanding state transitioning and accessing the scope of the parent view. I have the following

When I click on upload picture a picture is grabbed from lorempixel. On line 15 of app.js I call $state.go('tab.select-image.crop-image'); why doesn’t that state load?

I also want to get rid of the tab bar at the bottom. How would I do that?


#2

I’m VERY rough on ui-router. However, putting those dots in there means that is a child state of tab.select-image. but you haven’t provided a view for the child state to go into.

Try this : http://plnkr.co/edit/UpFw3w?p=preview