Outlook add-in with Angular doesn't work in desktop outlook RRS feed

  • Question

  • Hi there!

    I'm developing outlook add-in with angular. So I've created simple angular application and manifest file. And everything works fine via OWA:)

    Then I tried to run this add-in in desktop version of outlook. But it seems, it can't work with angular app:

    Then I added some static text to index.html ("INDEX"):

    and it appeared in desktop outlook as well:

    Cuold somebody hint what I did wrong? 

    Wednesday, February 6, 2019 1:30 PM


  • First question I had to answer was "How to debug add-in that is hosted in desktop version of outlook?" As the host is IE web control we have two options:
    1. IE
    2. F12 tool itself. We can find it here C:\Windows\SysWOW64\F12 or here C:\Windows\System32\F12. Run IEChooser.exe and select add-in you want to debug:

    Unfortunately, second option wasn't helpful as it didn't show anything, but case this IE showed an error:

    So, the answer to real problem was found here:

    When angular CLI creates new project it adds polyfills.ts file with commented lines:

    Just uncomment them and everything will work:

    • Marked as answer by rosergeev Tuesday, February 12, 2019 7:16 AM
    Tuesday, February 12, 2019 7:15 AM