I am new to SharePoint development. My senior has asked me to use angular with SharePoint. Can anybody provide me any guidance about how we can use angular with SharePoint? Which version of angular will work with SharePoint 2010 and which will work with 2013? if we have jsom then why we need to learn angular?
2 Answers
AnularJs is famous for its two-way data binding. If you want to take this advantage, then you can go for AngularJs. Otherwise, you should use JSOM. Moreover, REST API in SharePoint 2010 is not that much rich. For business logic (Angular Service), you have to depend on JSOM. You have to choose Angular version based on your IE version. Check following references.
Notes on Using AngularJS in SharePoint 2010
Internet Explorer Compatibility of AngularJs
In SharePoint 2013, REST API is much more powerful. Thus, you can consider using it. Some useful links are given below:
-
What are the steps to implement Angular 2 in the SharePoint 2010? Feb 18, 2018 at 0:41
jsom is a development model with a set of libraries and classes provided by SharePoint where you can use any JavaScript Framework and angular js is one of them.
You can use any version of Angular Js for any SharePoint Version. But suggested version is angular v1 because this version has a lots of third party open source library which can help in your development.
This a post which can be helpful. There are lots other blog posts which you can find easily.
Thanks and hope that this will help you.