moving post scope to controller