|
@@ -1,6 +1,6 @@
|
|
/* global app, angular */
|
|
/* global app, angular */
|
|
|
|
|
|
-var app = angular.module("robware", ['ngAnimate'], ["$httpProvider", function($httpProvider) {
|
|
|
|
|
|
+angular.module("robware", ['ngAnimate'], ["$httpProvider", function($httpProvider) {
|
|
/*
|
|
/*
|
|
* Stolen from: http://stackoverflow.com/questions/19254029/angularjs-http-post-does-not-send-data
|
|
* Stolen from: http://stackoverflow.com/questions/19254029/angularjs-http-post-does-not-send-data
|
|
* Reason: send payload as form data instead of JSON, bind to controller action parameters
|
|
* Reason: send payload as form data instead of JSON, bind to controller action parameters
|
|
@@ -74,7 +74,7 @@ var app = angular.module("robware", ['ngAnimate'], ["$httpProvider", function($h
|
|
]);
|
|
]);
|
|
}]);
|
|
}]);
|
|
|
|
|
|
-app.controller("main", ['$scope', '$rootScope', function($scope, $rootScope) {
|
|
|
|
|
|
+angular.module("robware").controller("main", ['$scope', '$rootScope', function($scope, $rootScope) {
|
|
var largeWindowBoundary = 1023;
|
|
var largeWindowBoundary = 1023;
|
|
|
|
|
|
$scope.menuVisible = false;//window.innerWidth > largeWindowBoundary;
|
|
$scope.menuVisible = false;//window.innerWidth > largeWindowBoundary;
|