Ionic-Material icon indicating copy to clipboard operation
Ionic-Material copied to clipboard

How to pass $stateParams to a fab

Open mikepc opened this issue 9 years ago • 0 comments
trafficstars

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.

mikepc avatar Jun 02 '16 05:06 mikepc