Vahid Najafi
Vahid Najafi

Reputation: 5243

Angular BrowserModule for NativeScript

As we use BrowserModule for using ngModel in web area, and is imported by default while creating new ng app, what is the equivalent for this in NativeScript?

Upvotes: 0

Views: 199

Answers (1)

Jannomeister
Jannomeister

Reputation: 629

If you want to use ngModel to nativescript app, you could use NativeScriptFormsModule and import it to your app.module.ts as following:

import { NativeScriptFormsModule } from "nativescript-angular/forms"

you can check this link here

Upvotes: 1

Related Questions