linnovate/mean — pull request #605 by fouadkada (2014-06-17 20:26:27+00:00)
Title: adding a condition to check whether a menu is an array or an object.

when modifying the mean-admin package according to my needs, i basically removed all menu entries and kept only the users entry but i was surprised that the admin menu doesn't show up anymore.

when a menu had only one entry it became an object instead of an array so the forEach loop will fail...adding an if condition to fix this.