r('demoCtrl', function($scope) {
        $scope.onSelect = function(item, isReverse){
          console.log(item, isReverse);
        };
      });
    </script>
  </head>

  <body ng-app="demo">
    <div ng-controller="demoCtrl">
      <div>
        <palette-picker
          initial-name='Blues'
          initial-range='4'
          initial-reverse='false'
          on-select='onSelect(item, isReverse)'
        />
      </div>
    </div>
  </body>
</html>
