trying to pass rootscope variables to my service, so the service can make the api call to add those variables to the database. Currently, the service is getting called before the variables are set. I will continue to work on this and get the timing issue resolved.