not sure what's wrong with $scope.controlsEnabled in debug directive.js