Ionic.extend vs angular.extend


I am a beginner with both ionic & angular. Your documentation is great but to further understand how you built the framework I have started to read the code.

I see that you have in your framework an extend (ionic.utils.extend to be precise) method which seems to do the similar thing as angular.extend. The style of writing the code is different but it seems to achieve the same objective.

I am puzzled as clearly there has to be some difference. Would appreciate if you could throw light on why you added your implementation of extend method instead of using angular’s.

Am sure missing something here.

Kind Regards