RafaelVidaurre / angular-permission

Simple route authorization via roles/permissions
MIT License
1.13k stars 212 forks source link

Pass parameter inside a permission-on-authorized function #437

Open joao-salgado opened 7 years ago

joao-salgado commented 7 years ago

I would like to receive a parameter in my controller through the permission-on-authorized function. I saw in the wiki that this lib doesn't support call this function with parenthesis, so pass a parameter like this

permission-on-authorized(myObj)

not work.

Is there some way to me resolve my case?