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
Post a Comment