0

There's an awesome plugin for checkboxes and radio buttons customization (seems to be a best one for that).

https://github.com/damirfoy/iCheck

How do I connect it with Angular.js?

I'm not too familiar with Angular. Is it even possible?

Jasper
  • 5,090
  • 11
  • 34
  • 41

1 Answers1

1

Yes you can use iCheck, or pretty much any jQuery plugin with Angular.

The easiest way would be to use the jQuery Passthrough feature of AngularUI or to write your own Angular directive to wrap a jQuery feature or plugin.

Ex. of wrapping jQuery plugin call in a directive:

AngularJS Quicksand

How do I force jQuery to "listen" for, and activate plugins on, future AngularJS ng-repeat elements?

Since you are new to Angular, I suggest you check out the videos over on http://egghead.io. They are an excellent leeway in the AngularJS world. Plus there's a hand-full of videos showcasing the ins and outs of directives .

Community
  • 1
  • 1
GFoley83
  • 3,439
  • 2
  • 33
  • 46