I'm trying to make a general purpose JSON pretty-print using AngularJs.
For an idea what a prettyprinter is: https://github.com/padolsey/prettyPrint.js
I'm not sure how to do this with angular, I am guessing nested transcluded directives, but I am having problems getting nested transcludes to behave properly. (For example: http://plnkr.co/edit/CHsGHCt3SU3N5MCJxwTV?p=preview )
If you could set me down a better path for dynamically generating html based on JSON (using Angular), I'd appreciate it!