Equivalent of angular.equals in angular2 : <p>I am working on migration of angular 1 project to angular 2 . In angular 1 project I was using angular.equals for object comparison <code>angular.equals($ctrl.obj1, $ctrl.newObj);</code> , I searched online for equivalent method in angular 2 but could not find any matching result. </p>
