Web.Admin/AdminApp/Controllers/controller.practice.js
Function practiceController
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var practiceController = function ($scope, $http, $q, $location, dataService) {
var url = $location.absUrl();
var lastSlash = url.lastIndexOf('/');
var province = url.slice(lastSlash + 1);
var year = url.slice(lastSlash - 4, lastSlash);
Function practiceController
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
var practiceController = function ($scope, $http, $q, $location, dataService) {