Remove unused parameters to reduce dependencies, and make it usable in ui-router projects