AngularJS: use serializeData for converting params to xhr format

Change-Id: If58e141f8f0fb932cdfa3d2395ceaec0bbad8473
Reviewed-on: http://review.couchbase.org/40697
Reviewed-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>
Tested-by: Aliaksey Kandratsenka <alkondratenko@gmail.com>