how to add new control(input or check) using angular script in mvc 5
am binding list of values from database
i have a column i.e controltype , if item has control type checkbox i want add checkbox beside for that item
if control type is input i want to add input beside that item
i want to add control using angular script
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Fabio Silva LimaRank #750 · 3.1K reputationPosted Dec 13, 2016, 7:43 AM EST
MayankRank #4,018 · 371 reputationPosted Dec 15, 2016, 1:53 AM EST
//var request = {
// method: 'Get',
// url: '/Home/GetControls/',
// data: formdata,
// headers: {
// 'Content-Type': undefined
// }
//};
//// SEND THE FILES.
//$http(request)
// .success(function (d) {
// alert("Success");
//
//
// })
// .error(function () {
// });
// alert("controller");
//By Above code you can call the mvc controller to get control type
var technologies = [
{ ControlType: "checkbox" },
{ ControlType: "text"},
];
$scope.technologies = technologies;