blob: 0eef4ea06e650f89efcc0a5d0a98c29ba9b045a7 [file] [log] [blame]
/**
* Controller for firmware
*
* @module app/configuration
* @exports firmwareController
* @name firmwareController
* @version 0.1.0
*/
window.angular && (function (angular) {
'use strict';
angular
.module('app.configuration')
.controller('firmwareController', [
'$scope',
'$window',
'APIUtils',
'dataService',
'$location',
'$anchorScroll',
function ($scope, $window, APIUtils, dataService, $location, $anchorScroll) {
$scope.dataService = dataService;
//Scroll to target anchor
$scope.gotoAnchor = function () {
$location.hash('upload');
$anchorScroll();
};
}
]
);
})(angular);