Hambach
Thomas

2016-02-11 05:04:27

Angular JSDiffLib directive to compare JSON

Implementing the jsdifflib library into your Angular 1.x project? No problem, using the gist below you can easily compare 2 JSON strings.

Don't forget to add "ngJsdifflib" to your dependencies.

https://gist.github.com/ThomasHambach/8dfb241c2df2958f157a