Reformat inline HTML

Is there an option to reformat HTML that's inline?

Example...

 
///<reference path="../../../typings/angularjs/angular.d.ts"/>
module lead {
  "use strict";

  export function leadDueDate(): angular.IDirective {
    return {
      restrict: "E",
      scope: {
        lead: "="
      
},
      template: `
        <!-- can I be reformatted? -->            
        <div>
          <form-group observe>
            <control-label>
              Due date
            </control-label>
            <input
              type="text"
              name="dueDate"
              ng-model="lead.dueDate"
              ng-model-options="{ debounce: 500 }"
              
              required
              >
            </form-group>
        </div>
        `
    
};
  }
}

Please sign in to leave a comment.