jirikavi/AngularJS-Toaster — pull request #27 by chrismansfield (2014-03-26 15:34:51+00:00)
Title: Fixed bug where not specifying 'toaster-options' caused an error.

If `toaster-options` wasn't specified, `mergedConfig` was never assigned. This resulted in an error. Since the `$eval` function returns undefined if `attrs.toasterOptions` is undefined, we can simply remove the entire undefined check. This results in the toaster using default values.

We also added a missing semi-colon, for completeness :)