Check changed data in service


#1

How listen changed property in service, in route file? https://jsfiddle.net/v202dx0m/


#2
export default Ember.Route.extend({
  awardsManager: Ember.inject.service('awards-manager'),
  awardsData: Ember.computed('awardsManager.awardsData', {
    get() {
      let awardsData = this.get('awardsManager.awardsData');
      console.log(`awardsData changed to: ${awardsData}`);
      return awardsData;
    }
  })
});

#3

Do u think the problem is with arrow function, () => { }? I already had problems with arrow functions with computed properties.