angularjs - How to pass dropdown data with other object in Angular js -
i need pass select list data other forms value . there problem when passing there 2 objects how pass values . can solve angular code var app = angular.module('projectmdl', []); app.controller('projectcontroller', function ($scope, projectservice) { $scope.action = 'add'; getcustomer(); loadprojects(); function getcustomer() { projectservice.getcustomerdetails().then(function (d) { $scope.customers = d.data; }, function () { alert("error loading customer details"); }); } function loadprojects() { projectservice.loadproject().then(function (d) { $scope.prjects = d.data; }, function () { alert("error loading project details"); }); } $scope.saveproject = function () { var r = confirm("are sure want insert ?") if (r == true) { if ($scope.action == 'add') {