UNPKG

451 BJavaScriptView Raw
1(function () {
2 'use strict';
3
4 angular.module('axialco.directives')
5 .directive('axialcoCheckbox', directive);
6
7 function directive() {
8 return {
9 template: '<span>checkbox</span>',
10 bindToController: true,
11 controllerAs: 'vm',
12 controller: controller
13 };
14
15 function controller() {
16 var vm = this;
17
18 console.log('checkbox')
19 };
20 }
21}());