add total score row directive
bind functions instead of using 'var self = this' pattern