localhost server working, pre-angular