Matteo Scandolo | bf7c366 | 2016-06-02 20:30:15 -0700 | [diff] [blame^] | 1 | (function () { |
2 | 'use strict'; | ||||
3 | |||||
4 | angular.module('mCord') | ||||
5 | .directive('eNodeMapPanel', function () { | ||||
6 | return { | ||||
7 | restrict: 'E', | ||||
8 | scope: { | ||||
9 | eNodeB: '=' | ||||
10 | }, | ||||
11 | bindToController: true, | ||||
12 | controllerAs: 'vm', | ||||
13 | templateUrl: 'app/view/home/e-node-map-panel.tpl.html', | ||||
14 | controller: function($scope){ | ||||
15 | this.close = () => { | ||||
16 | delete this.eNodeB; | ||||
17 | } | ||||
18 | } | ||||
19 | } | ||||
20 | }); | ||||
21 | }()); |