Sha256: 5270e40c1ee009fcc720ae50eb55e9e88c75c22a89978196e9dd30aac0820894
Contents?: true
Size: 343 Bytes
Versions: 2
Compression:
Stored size: 343 Bytes
Contents
'use strict' Sprangular.directive 'creditCardView', -> restrict: 'E' templateUrl: 'credit_cards/credit_card.html' scope: card: '=' allowDelete: '=' controller: ($scope, Account) -> $scope.typeName = -> Sprangular.CreditCard.TYPE_NAMES[$scope.card.type] $scope.delete = -> Account.deleteCard($scope.card)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sprangular-0.1.0 | app/assets/javascripts/sprangular/directives/creditCardView.coffee |
sprangular-0.0.1 | app/assets/javascripts/sprangular/directives/creditCardView.coffee |