diff --git a/README.md b/README.md index ef6311a..21fff40 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,11 @@ app.on(app.launchEvent, (args) => { ### Angular Place the following in your main.ts +```ts +import { registerElement } from "nativescript-angular/element-registry"; +registerElement("CreditCardView", () => require("nativescript-stripe").CreditCardView); +``` + ```ts import * as app from 'application'; import * as platform from "platform";