Refactored enture view system to use ui-router. Also sub-scoped the
repository view in to subviews and controllers