How to UI bar elements based on API content


#1

Hello,

I’ve got a steep hill to climb in terms of my learning experience, but one thing I really want to achieve off the bat is to be able to hide UI bar elements based on the result of API content, e.g. I would like to hide a tab bar button if the user does not have appropriate permissions.

What would be the most efficient way to do achieve this in ionic ? Being a newbie, if you are able to provide a code snippet example, that would be very much appreciated !

Thanks !