hljs-source
directive connects the highlight content withhljs
.
Click on the button will drop the page source into $scope.subSource
, and triggers hljs
directive to display the highlighted $scope.subSource
.
Demostrates the source
expression evaluation.