app .directive('iconCheck', function () { return { require: ['ngModel'], restrict: 'A', scope: { ngModel: '=', positive: '@?', negative: '@?' }, templateUrl: '/_module/admin/views/templates/icon-check.html' }; });