title: change radio button value with controller property in ember
body: <p>I am fetching the radiobutton value and want to set selected button value to controller property as <code>isSelected = fetchedvalue</code> and I am not able to bind and set. 
           by onclick I am getting the follwing error and i am unable to change the template .without on click I can easily use renderto another Template.</p>
  
  <p>HTML</p>
  
  <pre><code>    &lt;script type="text/x-handlebars"&gt;
         &lt;div {{bind-attr class=":div_class"}}&gt;    
           &lt;div {{bind-attr class=":div_title"}}&gt;{{title}}&lt;/div&gt;
           &lt;div style="margin-top:5px;color:red;"&gt;&lt;strong&gt;please check any radio box to fetch from different folders&lt;/strong&gt;
          &lt;/div&gt;
          {{#each images}}
            &lt;div style="margin-top:5px;font-family:Arial, Helvetica, sans-serif;"&gt;
            &lt;label&gt;{{view Ember.RadioButton name="selectionTest" selectionBinding="isSelected" value=this }}&lt;span {{bind-attr class=":radio_textstyle"}}&gt;{{this}}&lt;/span&gt;
            &lt;/label&gt;
            &lt;/div&gt;
          {{/each}}        
          &lt;div&gt; 
         &lt;button {{action "submitFolderPath"}}&gt;submit&lt;/button&gt; &lt;/div&gt;
        &lt;/div&gt;  
      &lt;/script&gt;
  </code></pre>
  
  <p>JS</p>
  
  <pre><code>    App.Router.map(function() {
            //this.route('imageList');
        });
  
       App.ApplicationController = Ember.Controller.extend({
       title: 'Fetch Images From Folder Path',
       isSelected:'images',
       images : ['images','imagesList','imagesFolder','myFolder'],
       actions :{
          submitFolderPath : function(){
                           alert('path::'+this.get('isSelected'));
              //          alert('path::'+path);
              //this.transitionTo('imageList');
          }
       }
       })
  
      App.ApplicationRoute = Ember.Route.extend({
  
      });
  
      Ember.RadioButton = Ember.View.extend({  
  
      tagName : "input",
      type : "radio",
      attributeBindings : [ "name", "type", "value", "checked:checked:" ],
      click : function() {
          path = this.$().val();
            this.set('App.ApplicationController').set('isSelected',this.$().val());
          this.set("selection", this.$().val());
      },
      checked : function() {
          return this.get("value") == this.get("selection");   
      }.property()
  });
  </code></pre>