All
I need to develop a simple application in Angular2 which will run on SharePoint Online.
I have gone through all the articles relevant to be able to make a decision.
My Options are either, I will use SharePoint Add-in and configure it to use Angular2 in, or Create a page layout and reference my Angular2 app there.
My question is that if I use second option which is using angular in a page layout, how will I use sharepoint js library to do my development environment?
I want to do development without deploying it to SharePoint online to test. Once I am done with development, that is the point I would like to made deployment.
Could you point me to right direction please? thanks