Ember Cheet Sheet!

How to pass parameters between routes?

Initialize property in model/controller with dependency

App.MyModel = Em.Object.extend({
	myData: null,
	myName: null,
	NameExtension: null,

	nameExtensionUpdater: function(): void {
		var myData = this.get('myData');
		if (myData) {
			var name = this.get('myData').name;
			this.set('myName', name.substr(0, name.lastIndexOf('.')));
			this.set('NameExtension', name.substr(name.lastIndexOf('.') + 1));

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.