[front-end] Make 'alert' and 'appConfig' services instead of factories