{"version":"1.0","type":"rich","title":"Gist 8370783","description":"This example shows a stock management interface where users can search for stock items and view their availability segments against a booking’s date range. An AngularJS controller watches the booking ID, fetches booking data via the `$resource` API, and computes a day-by-day range list. The `StockItems` factory uses `$http.get` to query the stock item search endpoint and then retrieves per-item segments for the current booking. The view displays these segments alongside the computed date labels, using AngularJS data binding to update the table dynamically.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-8370783?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}