Friday, 23 August 2013

Moving JQuery plugin into a directive

Moving JQuery plugin into a directive

I've asked a question titled "Using a JQuery library with AngularJS?" and
included my attempt although it doesn't seem I'm getting any responses so
I'll make this one even simpler.
I want to create vertical tabs (responsive that changes into an accordion)
as shown exactly here:
http://webtrendset.com/demo/easy-responsive-tabs/Index.html, BUT, using
AngularJS and not relying on Bootstrap.
The vertical tab data should come from a JSON file.
Has anyone created something similar before or can they create a Plunker
showing this?
JSON data like this: http://plnkr.co/edit/Wuc6M7?p=preview
Responsive tabs using this in a directive:
http://webtrendset.com/demo/easy-responsive-tabs/Index.html
My Plunker: http://plnkr.co/edit/plqTygiscmc2j9rB9bW0?p=preview

No comments:

Post a Comment