angular-ui/ui-router — pull request #347 by timkindberg (2013-08-22 16:11:13+00:00)
Title: Issue #345. Update sample.

- Use ui-router module, no compat
- Don't use $routeProvider, only use $urlRouterProvider
- Set up the index state '/' via a state config
- Split the index code into smaller files - states.js, styles.css, factory.js, contacts.json
- Use more best practices, e.g. loading contacts as json via $http, putting global utils into 'util' factory
- use ui-sref in templates
- Example of regex parameter
Fixes #345.