Chardin directive for AngularJS.