So, now that it is May 2015, I experienced a problem with the updated angular-toastr. I've found that starting with version 1.0, we must now use angular-toastr.tpls.js instead, while angular-toastr.js is used if you want to use your own Toast templates (I received an error that /directive/toastr/toastr.html was missing when I used it).
I believe you are using version 0.5.2 from my search. I'm not sure if your intent was to support AngularJS 1.2, which would require version 0.4.2 instead, so I'm assuming you were trying to use the latest version at the time of the SailsCast video (ep. 3) Anyways, I'm just suggesting that we should use angular-toastr.tpls.js if using version 1.0 or later, in case someone gets confused in the future.
Hi Irl,
So, now that it is May 2015, I experienced a problem with the updated angular-toastr. I've found that starting with version 1.0, we must now use angular-toastr.tpls.js instead, while angular-toastr.js is used if you want to use your own Toast templates (I received an error that /directive/toastr/toastr.html was missing when I used it).
I believe you are using version 0.5.2 from my search. I'm not sure if your intent was to support AngularJS 1.2, which would require version 0.4.2 instead, so I'm assuming you were trying to use the latest version at the time of the SailsCast video (ep. 3) Anyways, I'm just suggesting that we should use angular-toastr.tpls.js if using version 1.0 or later, in case someone gets confused in the future.