I get google is not defined, any ideas why it could be?

Hi. Did you add declare const google: any; at the top of your directive? If yes and if it is still not working, the reason could be that the Google places script is not loading before the component is rendered. You can try removing async defer from your script tag and see if it is working then.