import Ember from 'ember';

var computed = Ember.computed;
var alias = computed.alias;

/**
 * @class GoogleMapInfoWindowController
 * @extends Ember.Controller
 */
export default Ember.Controller.extend({
  templateName: alias('model.templateName'),
  zIndex:       alias('model.zIndex'),
  lat:          alias('model.lat'),
  lng:          alias('model.lng'),
  isVisible:    alias('model.isVisible')
});

import Ember from 'ember';

var computed = Ember.computed;
var alias = computed.alias;

/**
 * @class GoogleMapInfoWindowController
 * @extends Ember.Controller
 */
export default Ember.Controller.extend({
  templateName: alias('model.templateName'),
  zIndex:       alias('model.zIndex'),
  lat:          alias('model.lat'),
  lng:          alias('model.lng'),
  isVisible:    alias('model.isVisible'),
  title:        alias('model.title'),
  description:  alias('model.description')
});

Create alias for title & description.
[FIX] Create alias for title & description.

As per the documentation for the deprecation of object controllers,
model properties must now be referenced explicitly via the model as
proxying behaviour has been removed:
http://emberjs.com/deprecations/v1.x/#toc_objectcontroller
