Angular: Empty Fiddle

http://angularjs.org/

HTML

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js"></script>
<script src="https://rawgithub.com/rubenv/angular-gettext/master/dist/angular-gettext.js"></script>
<div ng-app="myApp"  ng-controller="MyCtrl">
  {{'Hello'|translate}}, {{name}}!
    <div ng-switch="expression">
      <div ng-switch-when="opt0" translate>value 1</div>
      <div ng-switch-when="opt1" translate>value 2</div>
      <div ng-switch-default translate>value default</div>
    </div> 
</div>

JavaScript

var myApp = angular.module('myApp',['gettext']);

//myApp.directive('myDirective', function() {});
//myApp.factory('myService', function() {});

myApp.controller('MyCtrl', function($scope) {
    $scope.name = 'Superhero';
    $scope.expression = 'opt1';
});