feat(amAlertService): transform the factory into a provider