UNPKG

@digital-passports/javascript-sdk

Version:

JavaScript SDK for interacting with the Digital Passport Hub REST API.

10 lines (6 loc) 328 B
# AngularJS Example This example demonstrates how to use the Digital Passport Hub JavaScript SDK in an AngularJS (1.x) application. ## Usage 1. Open `index.html` in your browser. 2. Enter your API key, then use the buttons to list or create passports. The SDK is loaded via CDN and used in an AngularJS controller.