Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
  <meta charset="utf-8">
  <title>JS Bin</title>
  <style>
    span {
      opacity: 1;
      transition: opacity .25s ease-in-out;
      -moz-transition: opacity .25s ease-in-out;
      -webkit-transition: opacity .25s ease-in-out;
    }
    span.fade {
      opacity: 0.1;
    }
  </style>
</head>
<body ng-controller="Ctrl">
  <span animation-class="fade" animate-on="shouldAnimate">Hello!</span>
  
  <div class="radio input-group-addon" ng-click="myModel = 'foobar'">
      <label>
        <input type="radio" name="radio1" value="foobar" ng-model="myModel" />
        my label
      </span>
    </div>
  <div class="radio input-group-addon" style="background:red;padding:50px" ng-click="myModel = 'foobar2'">
      <label>
        <input type="radio" name="radio1" value="foobar2" ng-model="myModel" />
        my label
      </span>
    </div>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers