123456789101112131415161718 |
- angular.module('kityminderEditor')
- .directive('noteBtn', ['valueTransfer', function(valueTransfer) {
- return {
- restrict: 'E',
- templateUrl: 'ui/directive/noteBtn/noteBtn.html',
- scope: {
- minder: '='
- },
- replace: true,
- link: function($scope) {
- var minder = $scope.minder;
- $scope.addNote =function() {
- valueTransfer.noteEditorOpen = true;
- };
- }
- }
- }]);
|