mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-15 02:36:36 +00:00
13 lines
259 B
JavaScript
13 lines
259 B
JavaScript
/* global angular */
|
|
angular.module('codexen')
|
|
.directive('btnNewRecipe', function (Modal) {
|
|
return {
|
|
restrict: 'A',
|
|
link: function (scope, el) {
|
|
el.on('click', function () {
|
|
Modal.newRecipe()
|
|
})
|
|
}
|
|
}
|
|
})
|