Moved factory into the service where it should be. Fixed bug in registration page where elements didn't glow