ffffng/app/scripts/controllers/main.js

19 lines
363 B
JavaScript
Raw Permalink Normal View History

2014-05-12 20:08:19 +02:00
'use strict';
angular.module('ffffng')
2014-05-31 19:19:36 +02:00
.controller('MainCtrl', function ($scope, Navigator, config) {
$scope.config = config;
2014-05-12 20:08:19 +02:00
$scope.newNode = function () {
Navigator.newNode();
};
$scope.updateNode = function () {
Navigator.updateNode();
};
2016-05-16 18:27:03 +02:00
$scope.deleteNode = function () {
Navigator.deleteNode();
};
2014-05-12 20:08:19 +02:00
});