Sha256: 02881782e372f1e203b324a8632c99a01271ccee2b9d25e92309be9adc6a3a5a
Contents?: true
Size: 483 Bytes
Versions: 11
Compression:
Stored size: 483 Bytes
Contents
angular.module('Bastion.content-hosts').directive('registerOsClient', function () { return { restrict: 'E', scope: { userOs: '=' }, link: function($scope) { $scope.$watch('userOs', function(userOs) { if (userOs && userOs.length) { $scope.dynamicTemplateUrl = 'content-hosts/views/register-' + userOs + '.html'; } }); }, template: '<ng-include src="dynamicTemplateUrl"></ng-include>' }; });
Version data entries
11 entries across 11 versions & 1 rubygems