Recipe
Angular Primer
Ship a hardened Angular SPA with Meridian licensing in under ten minutes.
1. Scaffold
ng new my-app --routing --style=css
2. Install SDK
npm install @getnimbus/meridian-angular
3. Guard routes
Wrap protected routes with the LicenseGuard. Unlicensed users are redirected to your activation flow automatically.
4. Verify
Call Meridian.verify() on mount. The SDK caches the session and refreshes silently in the background.
Pro tip: Use Angular'sAPP_INITIALIZERtoken to resolve the license before any component renders. This blocks the UI until the session is confirmed.