I have a very simple ionic/angular app that simply calls and displays a webpage. I recently added functionality for push notifications. The angular component checks Fire cloud messaging service if the user is registered and if so passes the id to the view and renders and Iframe to the site.
This is the problem: Sometimes when the service is a little slow, the view is not passed data in time for the view loading, and instead a null value is passed and a blank Iframe is rendered in the view. I am not an angular expert but it will only take someone who is expert a few minutes to fix. I know can be accomplished using an observable or something similar, but I have no angular knowledge. Basically what I am looking for is to not show the iframe in the view until the service is called and the proper url is passed.