ng-maxlength screws up my model

When your textarea exceeds 15 characters, result becomes undefined — that’s just how the ng-min/maxlength directives work. I think you’ll have to write your own directive. Here is a directive that will block input after 15 characters: <textarea my-maxlength=”15″ ng-model=”result”></textarea> app.directive(‘myMaxlength’, function() { return { require: ‘ngModel’, link: function (scope, element, attrs, ngModelCtrl) { var … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)