AngularJS Accordion with templateURL
https://github.com/534N/accordion-wt
I don't know why but the existing directives available don't really take a templateURL for accordion content.
It turns out not difficult to make at all. All it takes is to use the $compile service in the link function to render the provided template with the current scope.
Written by Sean Yang
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Angularjs
Authors
Related Tags
#angularjs
Did you know?
AngularJS pages are long-lived browser apps with the same script risk as a newer single-page app. Third-party code in the template can read forms and values rendered on the page.
Security insights from Cside
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#