Like Us
Plus One
Follow Us
Search
 Author Jeff Jones  Views 875 View Original Article

Ever wanted to simulate JSON data within your Angular app?    The code below I found handy and wanted to share. The goal was to override a “real data” call by watching a global flag (testmode=true).   Here we have a call to SharePoint 2013’s REST user profile service overridden returns hardcoded JSON instead.    That enables us to develop local and offline (no SharePoint) and switch to full online mode later with real data calls.  Maybe full WebAPI se…
View Original Article

Recent Articles from @SPJeff