handle states by UI.router

Signed-off-by: Dominic Böttger <Dominic.Boettger@inspirationlabs.com>
Merge branch 'refs/heads/states' into 0.2