Fork me on GitHub

This example shows an example usage of angular-pretty-xml module

It takes input XML and outputs nicely formatted XML

Live demo

You can modify source XML and filter will be instantly applied thanks to Angular data binding

XML

Result

{{ xml | prettyXml }}