C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
How to apply ng-model to checkbox
WhatsApp
Ajay Malik
Aug 05
2016
680
0
0
<!DOCTYPE html
>
<
html
>
<
script
src
=
"http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"
>
</
script
>
<
body
>
<
div
ng-app
>
<
form
>
clickme!
<
input
type
=
"checkbox"
ng-model
=
"my"
>
</
form
>
<
h1
ng-show
=
"my"
>
hello AngularJs
</
h1
>
</
body
>
</
html
>
AngularJs
checkbox
Up Next
How to apply ng-model to checkbox