Wizdm Genesys
Published in

Wizdm Genesys

Router Tricks Series

Angular: Supercharging The Router

When The Router Does More Than Routing

Imagine your app has a ‘Contact Us’ link and instead of routing to a dedicated page you’d like a contact form to popup instead.

There would be nothing wrong in hardcoding the ‘Contact Us’ button to do something different than navigating when clicked but…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lucio Francisco

I believe that whatever problem we’re puzzling ourselves with, once we really get to the bottom of it the solution has to be simple