In this example we're using the hideWhen directive to decide whether to hide an icon based on the platform.
hideWhen