Hidenari
Member since Apr 9, 2015
- Profile: /members/12617-hidenari.htm
- URL: https://github.com/ghiden
- Comments: 1
Recent Blog Comments By Hidenari
-
Mutating Isolate Scope References In AngularJS
Posted on Apr 9, 2015 at 9:11 PM
Hi Ben, The first example didn't work because it is an expression, no? It is only executed once. If you change 'includesKim' to a function, it'll run fine. $scope.includesKim = function() { return $scope.friends.indexOf( "Kim" ) !== -1; }... read more »