Fixed a couple bugs with menu sorting. Also converted much of appCtrl from jQuery to angular events.