TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Junaid Syed
NA
485
130.5k
How can i append checkbox value to checkbox in angularJS
Nov 17 2017 5:16 AM
Hi below code is use for checkbox
<div
class
=
"col-md-6 col-sm-6 col-xs-12"
>
<input type=
"checkbox"
ng-model=
"VendorsObject.MISC"
/>
</div>
when i click on vendorName my check box vlaue should append to checkbox field as how below:
Here is the code which i use in my controller :
var
data = RMSService.getvendorsById($stateParams.id, globalValues.token).then(
function
(response) {
$scope.VendorsObject = response.data;
},
function
(error) {
console.log(error);
})
Iam getting the whole form data into respose.data in the above code.I just need to append the checkbox value into my form as shown above in vendor Insured?.How can i do this.how can i solve this.Thank you.
Reply
Answers (
1
)
How to passing value customdirective to anothere component
How to add plugin and toolbar in angularjs tinymce