added angular-ui-states
added nested states in 'edit