Configuration for the client.
This commit is contained in:
parent
637fd10606
commit
249275bc0a
13 changed files with 53 additions and 28 deletions
app/scripts/controllers
|
@ -1,7 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ffffng')
|
||||
.controller('MainCtrl', function ($scope, Navigator) {
|
||||
.controller('MainCtrl', function ($scope, Navigator, config) {
|
||||
$scope.config = config;
|
||||
|
||||
$scope.newNode = function () {
|
||||
Navigator.newNode();
|
||||
};
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ffffng')
|
||||
.controller('NewNodeCtrl', function ($scope, Navigator, NodeService, $routeParams, _) {
|
||||
.controller('NewNodeCtrl', function ($scope, Navigator, NodeService, $routeParams, _, config) {
|
||||
$scope.config = config;
|
||||
|
||||
$scope.node = {};
|
||||
$scope.saved = false;
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ffffng')
|
||||
.controller('UpdateNodeCtrl', function ($scope, Navigator, NodeService) {
|
||||
.controller('UpdateNodeCtrl', function ($scope, Navigator, NodeService, config) {
|
||||
$scope.config = config;
|
||||
$scope.node = undefined;
|
||||
$scope.token = undefined;
|
||||
$scope.saved = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue