javascript - How to merge two same object in Angular JS? -


i have 2 objects in angular js same fields:

notifications.fb notifications.tw

how can merge , sorted filed time?

using angular.extend

angular.extend({}, notifications.fb, notifications.tw); 

or

angular.extend(notifications.fb, notifications.tw); 

Comments

Popular posts from this blog

android - Sent Blob results empty -

javascript - Bootstrap Popover: iOS Safari strange behaviour -