Use states constant to instantiate ui-router configuration