Open kofronpi opened 10 years ago
In angularJS, no DOM manipulation should be done in controllers like this :
$scope.state_bgcolor = "#f5f5f5"; $scope.state_bordercolor = "#e3e3e3";
Explanations here http://ng-learn.org/2014/01/Dom-Manipulations/ and at many other places. Instead one should use angular's directives : https://docs.angularjs.org/guide/directive
I'll do it soon
Ok I assigned you to this issue ;)
In angularJS, no DOM manipulation should be done in controllers like this :
Explanations here http://ng-learn.org/2014/01/Dom-Manipulations/ and at many other places. Instead one should use angular's directives : https://docs.angularjs.org/guide/directive
I'll do it soon