Module dependencies merge in angular app