zachfitz/Ionic-Material

How to pass $stateParams to a fab

mikepc opened this issue · 0 comments

I've tried a number of different methods to get $stateParams passed to fabContent.

Basically I need a fab that is linked to a page passing a param

eg. app.contact({ id : $stateParams.contactId }), $stateParams doesn't have the params of the page the fab is rendered on. Tried injecting in the app controller and the fab content controller.

I'm looking for an example to pass params to fab that are $stateParams driven.