After searching through numerous examples of using Routes with Angular, I have unfortunately not been able to find a working solution. Even the example provided in the official guide did not work properly (clicking on it resulted in a wrong URL that did not function upon reload).
Does anyone know of a simple, functioning example that updates URLs correctly and works even after reloading the page?
Is there an example that also includes tabs?
UPDATE: I was able to get routes working by disabling
$locationProvider.html5Mode(true)
.
Enabling this option caused the URLs to become corrupted in my browser
(I am using Chrome 31.0.1650.63 on Mac OS 10.8.5)