I am developing Outlook Add-in using angular4. I am having trouble with understanding few of the concepts regarding developing office add-ins using angular.
- Do I need to implement both
Office.initializeandOffice.OnReady()in main.ts because whenever I start my application I am getting error that I have not implementedOffice.OnReadyalthough I have usedOffize.initialize - Do I need to use
Office.initializeeverytime I use some office component in my app? - Does it affect my Add-in if I am running my app in dev mode and not in production mode?
- Is it possible to run my angular app in Office dialog and not in taskpane, i.e. I have a simple html(which contains only one button) on my taskpane and when I click that button it opens my angular app in dialog.
- Or can I open a single component of my app in a dialog? If yes, can somebody please explain with an example code.