I made a basic directive with JsBarcode
.directive('barcode', function () {
"use strict";
return {
restrict: 'EA',
scope: {
data: '='
},
template: '<canvas id=barcode></canvas>',
link: function ($scope, element) {
var canvas = element.find('canvas');
new JsBarcode(canvas[0], $scope.data);
}
};
})