angular/angular.js — pull request #10601 by LeonardoBraga (2014-12-30 01:54:09+00:00)
Title: refactor(minErr): better minification and other improvements

Removes a "magic number" (2) used multiple times in the code.
Removes unnecessary variables "arg" and "prefix".
Removed a condition within the "for" loop that generates query string parameters.
Adds a test case to ensure URL parameteres are generated as expected.