fix jshint
Receive service params as a array and use the 'key' property instead of a 'name' property
replace the term 'variables' for 'params' when referring to services' paths. This way, it uses the same naming convention as the backend
remove some commented out lines
remove all $http instances and use resources instead