updated toasty-controller to use explicit dependency injection syntax