#877 attempt to fix potential NPE with toastr if its not been initialised by the time we create the angular service