organise angular ui states