SailPoint Angular consuming Rest API

I downloaded the KitchenSink application which is running AngularJS ui within the SailPoint server utilizing SailPointBundleLibrary.js. But in the demo only the UI components are shown. It is not showing how to consume the data from a Rest API. Can anyone help me in incorporating the RestAPI call from the SailPoint Angular UI?

Hey I know this is a bit old but you can try this:

https://community.sailpoint.com/t5/IdentityIQ-Wiki/IdentityIQ-Plugin-Learn-How-To-Write-One-for-Your-Customer/ta-p/182720

This plugin comes with small guide but more importantly has a decent example of consuming data from a custom rest service.