ffffng/app/scripts/controllers/main.js
2016-05-16 18:27:03 +02:00

18 lines
363 B
JavaScript

'use strict';
angular.module('ffffng')
.controller('MainCtrl', function ($scope, Navigator, config) {
$scope.config = config;
$scope.newNode = function () {
Navigator.newNode();
};
$scope.updateNode = function () {
Navigator.updateNode();
};
$scope.deleteNode = function () {
Navigator.deleteNode();
};
});