Carousel example in Chapter 5 (Writing your own event handler directive) is using HammerJS library to implement swipe left and right. First it gave me an exception
Code:
target.addeventlistener is not a function
SO
article pointed that it should be element[0] rather than just element
Now the error is gone, but swiping doesn't work. It might be
my bug, but HammerJS is so far from Angular; and carousel implementation is so far from my use cases that troubleshooting might not be worth it. However, if somebody got it working - please share!
Thanks. Love the book so far!