Uvarajan D

Uvarajan D

  • NA
  • 9
  • 1.2k

how to access MVC model in View using Angular?

Feb 13 2019 10:52 AM
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)