In your Config factory definition injection array is not matching the parameters of the function. You declared two elements whereas your function signature expects four arguments so the last two are going to be undefined.
technoServices.factory('Config',['$resource','Shared',
function($rootScope,$resource,token,Shared){
Something like:
technoServices.factory('Config',['$rootScope', '$resource', 'token', 'Shared',
function($rootScope,$resource,token,Shared){