JSFiddle - React, Tailwind, and code Playground

by choroshin

HTML

<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
<div ng-app="App" ng-controller="ctrl" >
   <select ng-model="status" ng-options="s for s in statusList"></select>
    <p ng-switch="status">
    <span ng-switch-when="wrong">
       Wrong
    </span>
<span ng-switch-when="incorrect">
       Wrong
    </span>
    <span ng-switch-default>
       Correct
    </span>
</p>
</div>

JavaScript

var app=angular.module('App', []);
function ctrl($scope){
    $scope.statusList=["incorrect","wrong","stuff"];
   
}