A place where we write words Ignition Blog

Welcome to the Ignition Development blog, where we talk about a wide range of technical and non-technical topics.


There are 1 entries for the tag JavaScript

Leveraging directives to improve jQuery and AngularJS integration

A few months back I received a design that used the iCheck plugin to implement radio button lists with customised styles. The controls look really nice! Now to use it in our Angular application... I hooked up the radio buttons as per the normal AngularJS way, added the iCheck init function call into my controller, and promptly ran into trouble. When the checking the checkbox, the scope variable no longer changed. Here is a fiddle that demonstrates the problem: http://jsfiddle.net/BerzerkNinja/84Lpjd8w/ As you can see from the fiddle, setting the radio’s ng-model has no effect on the iCheck control, but it...

This blog entry was posted @ Friday, July 24, 2015 9:43 AM | Feedback (0) | Filed under JavaScript · Technical