title: In Angular 1.5, how to bind an attribute component as boolean?
body: <p>I would like to know if in Angular 1.5, when you use components, there is a simple way to bind an attribute which is a boolean without be converted as string with @.</p>
  
  <p>For example, I have two components "app-menu" and "app-menuitem" without transclude. "app-menu" has only one attribute with is a list of items to create "app-menuitem".</p>
  
  <pre><code>&lt;app-menu items="menuitems"&gt;
  </code></pre>
  
  <p>in the menuitems which is a json, you have an attribute by menuitem named "isactive" which a boolean value.</p>
  
  <pre><code>$scope.menuitems = [{ label : 'menuitem 1', isactive : true},{ label : 'menuitem 1', isactive : false}]
  </code></pre>
  
  <p>In the menuitem component :</p>
  
  <pre><code>angular.module('app')
      .component('appMenuitem', {
        transclude: false,
        controller: menuitemController,
        bindings: {
          label: '@',  
          isactive: '@' //&lt;--- The problem is here because the boolean is converted as string
        },
        templateUrl: 'angular/components/simple/menuitem/menuitem.html'
      });
  </code></pre>
  
  <p>I don't know the best way to be sure at the end is a real boolean, not a string which makes me some bugs. Anyone has an idea ?</p>