AngularJS scope return $$state
AngularJS scope return $$state I have a directive and in this directive I have a value that comes from my controller, here is my directive: angular .module('thermofluor') .directive('tablePlate', tablePlate) tablePlate.$inject = ['$timeout', '$q']; function tablePlate($timeout, $q) { var directive = { link: link, restrict: 'E', templateUrl: '/crims/thermofluor/experiments/table_plate.html', scope: { plate: '=' } }; return directive; function link(scope, element) { console.log("test"); var plate = scope.plate; console.log(plate); scope.letters = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H']; scope.numbers = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; experiments = ; experiments[scope.plate.experiment.well] = [scope.plate.experiment]; return; } } The problem is that when I console.log the scope I...