Connecting controllers in Ember.js

To enable communication between controllers you can inject a controller using Ember.inject.controller. Here’s how to do it:

// controllers/playlist.js
import Ember from 'ember';

export default Ember.Controller.extend({
    anotherController: Ember.inject.controller(),

    // now you can access it with
    // this.get('anotherController')

    // or in your template:
    // {{anotherController.someProperty}}
});

Also see the official guide on dependencies between controllers.

Ember.js with a Wordpress WP-API backend