Ember

Ember Cheet Sheet!

How to pass parameters between routes?
http://stackoverflow.com/questions/19098901/passing-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)); 		} 	}.observes('myData').on('init') });