Moved Highchart creation to a directive.  Moved code block down below markup.