AngularJS custom directive to display code within the markup. Grabs the code of the element that holds the directive and makes it available in the specified scope. I created this directive because I wanted people to be able to share their Open Source code in their own site without having to go to the trouble of copying, pasting and formatting the code.
I found this by trying to use the ng-repeat directive inside of the code I want to display. What is happening is that AngularJS is commenting out the code of the directive instead of adding it to the actual code string gotten by the cd-code directive.