2
Answers

how to access MVC model in View using Angular?

Uvarajan D

Uvarajan D

6y
1.2k
1
MVC model data was created in Controller and passed to using ViewBag. In View I need to access it using AngularJS so that I can display the each row data with checkboxes for selection?
 
The model contains columns (dept_id, dept_name) and may have many rows. My view should be shown as below and dept_id whose checkbox is selected should be identified.
 
 
 
Answers (2)