change .pop arguments to parameters

Hi there,

I've changed .pop() arguments to key/value format so it doesn't depend on the order of the arguments and therefore eliminating the need to add null or empty arguments. 

AngularStrap is doing something similar.

- Alex