npm i -g @angular/cli
ng version
ng new my-ap
ng serve --open یا ng s –open
ng s --port 1010
ng g c YourName
ng g m YourName
import * as Models from ./models/mymodel; import * as Interfaces from ./interfaces/myinterface;
public myModel = Interfaces.MyInterface; public constructor{ this.myModel = new Models. MyModel(); }
تا کنون نظری داده نشده است .
اولین کسی باشید که دیدگاه خود را ثبت می کند .
لطفا منتظر بمانید...