You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: