Fixed issue with inspector not pretty printing the JSON output.

The changes you made to update angularjs and elasticseach removed the pretty print from the inspector dialog.  This modification fixes that issue by adding a prettify function.