I'm using Ember App Kit (EAK).
The Ember Inspector / Chrome Dev Tools console shows this line when I load my index page:
*generated -> controller:application Object {fullName: "controller:application"}*
But I've explicitly created an Application Controller, which this Ember app apparently doesn't know about (since it's autogenerating an ApplicationController).
I'm trying to call a title property on my explicit Application Controller, and display it in my application template.
What am I doing wrong? The {{title}}
in the template yields nothing.
(I suspect it has to do with the way EAK uses ECMAScript 6 modules via the ES6 Module Transpiler.)
/site/app/templates/application.hbs
{{title}}
{{outlet}}
/site/app/controllers/application.js
var ApplicationController = Ember.Controller.extend({
title: 'hello world'
});
export default ApplicationController;