| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 1× 1× 1× 1× 1× | /**
* @ngdoc directive
* @name app.players.directive:fePlayersForm
* @restrict E
* @description
* Form for adding a new player or editing an existing player. The form has a name field.
*
*/
(function () {
'use strict';
angular
.module('app.players')
.directive('fePlayersForm', directiveFunc);
/** @ngInject */
function directiveFunc() {
var directive = {
restrict: 'E',
templateUrl: 'app/players/playersForm.html',
scope: {
vm: '='
}
};
return directive;
}
})();
|