brushing off an old app to work with angular