tolga
Member since Oct 22, 2014
- Profile: /members/12374-tolga.htm
- Comments: 6
Recent Blog Comments By tolga
-
Understanding How To Use $scope.$watch() With Controller-As In AngularJS
Posted on Jun 29, 2015 at 8:46 AM
hi again, thax for article. but if you followed John Papa guide, you should be use cntrler as syntax like :)) /* avoid */ function Customer($scope) { $scope.name = {}; $scope.sendMessage = function() { }; } /* recommended - but see next section */ function Customer() { this.name = {};... read more »
-
Stateless Filters Don't Apply To Objects, Arrays, or ngRepeat In AngularJS 1.3
Posted on Jan 23, 2015 at 9:57 AM
Ben is rocks:) by the way meaning of "ben" in turkish is "i" || 'my':) so, best and easy way is watching just array element count, then build filtered new array for ng-repead??... read more »
-
Counting The Number Of Watchers In AngularJS - Updated For Isolate Scopes
Posted on Dec 10, 2014 at 9:21 AM
hi ben, watcher function is greate, but we are using ui-router and after relasing 2.10 ui-router add "ng-scope" class to ui-view element. so it's make watcher count double :(( . u can check with " https://github.com/angular-ui/ui-router " sample. but its link to 2.08 version. s... read more »
-
Creating An Optimized Switch Directive For Use With ngRepeat In AngularJS
Posted on Nov 4, 2014 at 5:16 AM
thanks m8, ur articles are rock... thank for sharing...... read more »
-
Creating An Optimized Switch Directive For Use With ngRepeat In AngularJS
Posted on Oct 22, 2014 at 9:38 AM
@Tolga, actually, i wrote a little bit wrong :( when using bnRepeatSwitch on ng-repeat that is in another ng-repeat, switchCases property can not read... for example; <ul ng-repeat="people in peopleArray"> <li ng-repeat="person in people" bn-repeat-switch="p... read more »
-
Creating An Optimized Switch Directive For Use With ngRepeat In AngularJS
Posted on Oct 22, 2014 at 8:15 AM
hi, its great article, thanks. but its working with one ng-repeat, does compile function not run again for second ng-repeat? how can i fix it.... read more »