Basic session editor (in angular.js)