This line doesn't correctly update "selected" variable and I can't figure why this is.  This is what I have done, 'click: function() {console.log(this); this.selected(true); console.log(this);}, ... ' and log shows no error yet selected is not being updated for unknown reason.  I have tried placing 'a' within component's html and doing $parent operation and that didn't help either.