yesterday's work refactoring js and starting angular