modified all controllers. removed need for navTree rootScope variable. Use directive now