populates Scope.Params