Open suamorales opened 8 years ago
When you install with bower, it installs the dependency humanize-duration
, but the example site never says that you need to link the script, which you do.
Add <script src="/bower_components/humanize-duration/humanize-duration.js" charset="utf-8"></script>
or something similar for how your project is set up to fix that issue. And make sure that it's linked before the angular-timer file.
I'd have been done writing my own custom directive if I didn't stumble on this. Poor documentation, poor everything!!! So many assumptions made.
I've included humanizeDuration dependency script but I'm still seeing the
humanizeDuration is not defined
error. I'm using webpack and installed the dependency with bower