Sha256: 7d144be6c9547347387293c82ebe5e89b0ca48fac2e1a22a5348551e46b93982

Contents?: true

Size: 416 Bytes

Versions: 10

Compression:

Stored size: 416 Bytes

Contents

angular.module 'TryApi', []
angular.module('TryApi').directive 'params', [
  () ->

    link = (scope, element, attrs, ctrl) ->

    return {
      link: link
      restrict: 'A'
      require: 'ngModel'
      scope:
        parameters: '=ngModel'
      template: '' +
        '<div class="row parameter" ng-repeat="parameter in parameters">' +
        '  <div param ng-model="parameter">' +
        '</div>'
    }
]

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
try_api-0.1.8 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.1.7 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.1.6 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.1.5 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.1.4 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.1.3 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.1.2 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.1.1 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.1.0 app/assets/javascripts/try_api/params.directive.js.coffee
try_api-0.0.18 app/assets/javascripts/try_api/params.directive.js.coffee