Calling wcf in factory?

What kind of params do you mean?

EDIT: you might have some use from this topic: How do I obtain $stateParams in Angular sevice