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

javascript - Bootstrap Popover: iOS Safari strange behaviour -

Website Login Issue developed in magento -

Can the constants be defined inside a model file of a framework in PHP? -