Service is working even though scope variables arent