From 269e39df3163deb52b7f9fb16faa05c27f43680c Mon Sep 17 00:00:00 2001 From: Osei Fortune Date: Fri, 15 Dec 2017 18:48:25 -0400 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) 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";