I have an Apache Cordova Application that uses the AngularJS framework. A service is pulling in a list of JSON objects that contain 1 url each to populate a menu. Once the user selects one of the menu items the application grabs the url from the object and binds it into an iframe. I have all of this working however, with one of my urls the page is not displaying. Is there a way I can log the response of the iframe after it is loaded?
Here is a snippet from the partial.
<div class="row header">
<div class="col-lg-4 pull-left pharma_setting_icon1"></div>
<div class="col-lg-4 pull-left text-center store_name_main_div"><strong>{{ label }}</strong></div>
<div class="col-lg-4 pull-right nav-icon-header">
</div>
</div>
</div>
<div class="scroll-wrapper iframe-holder">
<iframe data-ng-src="{{ currentUrl }}"></iframe>
</div>
Is there an easy way to use javascript to log the response of this iframe if I assign it an id?