Skip to content
Snippets Groups Projects
Commit 26d18605 authored by Jaden Diefenbaugh's avatar Jaden Diefenbaugh
Browse files

controller dont depend on global vars

parent 4d006c38
No related branches found
No related tags found
2 merge requests!223Reports overhaul,!220WIP: Experiment groups
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
*/ */
//This controller retrieves data from the reportFactory/experimentFactory through the REST API and associates it with the $scope //This controller retrieves data from the reportFactory/experimentFactory through the REST API and associates it with the $scope
//The $scope is ultimately bound to the report view //The $scope is ultimately bound to the report view
app.controller('reportController',['$scope', 'reportFactory', 'experimentFactory', 'plotterFactory', 'dataFactory', '$q', function ($scope, reportFactory, experimentFactory, plotterFactory, dataFactory, $q){ angular.module('reportApp').controller('reportController',['$scope', 'reportFactory', 'experimentFactory', 'plotterFactory', 'dataFactory', '$q', function ($scope, reportFactory, experimentFactory, plotterFactory, dataFactory, $q){
$scope.q = $q; $scope.q = $q;
$scope.user; $scope.user;
$scope.report_id; $scope.report_id;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment