reorganizing powerTabber into an Angular.js App