Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<head> <base href="/angularCrash.html"> </head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.0/angular.js"></script>
<script>
    var app = 
      angular.module("url", [])
      .controller("ctrl", function($location){})
      .directive("crash", function($location) {
        return {
          scope: "=",
          link: function($scope){
            window.history.pushState('', '', '?/');
          }  
        };
      });
    app.config(function ($locationProvider) {
      $locationProvider.html5Mode(true);
    });
</script>
<div ng-app="url">
    <div ng-controller="ctrl">
        <!-- Causes $location to be included -->
        <div ng-include></div>
        <div ng-repeat="x in [1]">
          <crash></crash>
        </div>
    </div>
</div>
Output

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

Dismiss x
public
Bin info
yeerkkiller1pro
0viewers