move unique() function to $rootScope
Add and use memberSlots2