I have two objects in Angular JS with a same fields:
notifications.fb
notifications.tw
How I can merge it and sorted by filed time?
Using angular.extend
angular.extend({}, notifications.fb, notifications.tw);
OR
angular.extend(notifications.fb, notifications.tw);