I've resolved the loading of the WOFF2 file problem but the main problems still remains that the app doesn't seem to fie the OnInit event when the view loads. Now there are no errors in the console nor are there any file load issues listed in the Network tab of the developer tools. So, what could cause the OnInit event to not fire until I've clicked on something? I can't see why this would be related to where the files were served from. Once the browser has the files and had loaded the app it should run the same way.
On Tuesday, June 28, 2016 at 7:11:14 PM UTC-5, Long Field wrote: > > Too many issues can cause this problem, like does user has permission for > this file? > > On Wednesday, June 29, 2016 at 7:41:36 AM UTC+10, HisDivineShadow wrote: >> >> I don't understand this one. I have an app when I load it from my local >> IIS it runs fine (in Chrome only). When I load the same app from a remote >> server it doesn't run the OnInit of any of my views until a click on some >> active element on the page (like a form control or a menu link). I have >> ngOnInit handlers on a few pages that I put break points in (using Chrome >> developer tools) and that's how I see the init being run only after some >> action on one of my elements. The only error I see in the console is that >> it can't load one of the font definition files. The file exists but it >> can't load it. >> >> >> <https://lh3.googleusercontent.com/-2vKd2EkNIjw/V3Ltic0K7UI/AAAAAAAAEcc/1NqsNqmB9gsFZxFjkmPlup_ElloT3b2KACLcB/s1600/portal1.PNG> >> >> >> >> I don't see how this would cause the problem I'm having. Again, the >> problem is that it doesn't Init any of my views. What difference does it >> make that it's loading the app from my local machine or server (and why >> can't it load the font definition file)? On occasion there is another font >> definition file that won't load but unlike the one above it's a failure in >> the platform-browser.umd.js. >> >> >> -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
