 			
 		_me = null
 		
-		$urlRoot: "#{env.server.app.url}/api/user"
+		$urlRoot: "/api/user"
 		
 		@me: ->
 			_me ?= new User id: 'me'

	class Groups extends pageableAR.PageableCollection
		_instance = null
		
		$urlRoot: "#{env.server.app.url}/api/group"
		
		model: Group
		

resource = ($rootScope, pageableAR, Upload) ->
	
	class RosterItem extends pageableAR.Model
		$urlRoot: "/api/roster"
		
		$parse: (data, opts) ->
			ret = super(data, opts)
