Move ng-controller stuff to the main panel divs.