AngularJS Flipsnap Directive