/** * Created by robin on 11/6/15. */ angular.module('luticateUtils') .directive('luItemPicker', ['dialogs', 'luticateDialogErrorHelper', function(dialogs, luticateDialogErrorHelper) { return { restrict: 'E', scope: { options: '&', luModel: '&' }, templateUrl: "views/itempicker.html",//"/luticate/luitempicker.html", link: function ($scope, element, attrs) { $scope.selectedItems = $scope.luModel(); $scope.pickerOptions = $scope.options(); } }; } ]); angular.module('luticateUtils').run(['$templateCache', function($templateCache) { $templateCache.put('/luticate/luitempicker.html', '
' + ' ' + ' | ' + '{{ col.name }} | ' + '
---|---|
' + ' ' + ' | ' + '{{ col.getValue(item) }} | ' + '