Angular 6 synchronous observable