Configuring components with ui-router and ngRoute

Even though ngRoute and ui-router nudge you to use regular controllers, you can and should wire them directly to components. Here's how simple it can be.