OpenSource For You

Model

-

The model contains the data to be displayed, as well as data to be collected in any input fields or forms. Additional­ly, it may contain functions that are called based on user input or other activities. A model in Angular is just a plain JavaScript object. It can be a primitive type such as a string, number, Boolean or a complex type such as an object. The output displays the model data in view, through the controller:

Newspapers in English

Newspapers from India