Change needs: to Computed Properties
The needs thing is confusing because there isn’t an equivalent for Routes and other aspects in Ember. Remove needs:[]
and use a computed property such as fooController: Ember.controller(‘controllerName’)
, fooRoute: Ember.route(‘routeName’)
, etc. It also provides the developer to name the property whatever they’d like, rather than using controllers.controllerName
. This was part of the Services discussion that Tom Date started.