gokatz
7/5/2016 - 10:47 AM

unbound ember

unbound ember

{
  "version": "0.10.1",
  "EmberENV": {
    "FEATURES": {}
  },
  "options": {
    "use_pods": false,
    "enable-testing": false
  },
  "dependencies": {
    "jquery": "https://cdnjs.cloudflare.com/ajax/libs/jquery/1.11.3/jquery.js",
    "ember": "2.6.0",
    "ember-data": "2.6.1",
    "ember-template-compiler": "2.6.0"
  },
  "addons": {}
}
<h1>Welcome to {{unbound appName}}</h1>
<br>
<button {{action 'changeName'}}>Change Name</button>
<br>
{{outlet}}
<br>
<br>
import Ember from 'ember';

export default Ember.Controller.extend({
  appName: 'Ember Twiddle',
  actions: {
  	changeName() {
			this.set('appName', "Let's Chat");
    }
  }
});