switch to $inject annotation instead of array in service registration