My Blog


Create Model

Posted: November 24, 2021. | By: Admin

Model's concept in angular2 to declare the data variable as global and those data variable coming from Http Request calls as are object and to declare those data variables in model class. Here, we are writing this model class for request calls and you declare variable with type the type of variable coming from server.


export class TestModel {
  id: number;
  name: string;
  randomAttribute: number;
  author: string;   


Aapthi Technologies,Hyderabad offers a complete range of web solutions including web designing, developing, web hosting, Internet marketing and many more. With our electrifying presence, we have swirled the scenario of web solutions. We consistently invigorate our skill-set and tech-expertise and work with a high-level of integrity. Our keen-eye on emerging trends of online business as well as technical spheres has empowered us to render the most innovative solutions. Persistent development is the key drive of Aapthi Technologies, be it in terms of infrastructure, skill-set or technology. Team Aapthi Technologies, is fully committed to render back hundred percent value for the money paid by client.

Social Links

Our Bunker

Plot No -596, Near Reliance Fresh,
Vivekananda nagar colony, Kukatpally,
Hyderabad - 500072, India.