Sha256: de8d7740b30672cb58d25f4a7bc8412d29a1e0bee18f64b65431aa5e68424625

Contents?: true

Size: 624 Bytes

Versions: 6

Compression:

Stored size: 624 Bytes

Contents

// Generated by CoffeeScript 1.4.0
(function() {
  var angular, root, thisApp;

  root = typeof global !== "undefined" && global !== null ? global : window;

  angular = root.angular;

  thisApp = angular.module("Client", ['ngCookies']).config([
    '$routeProvider', '$locationProvider', function($routeProvider, $locationProvider) {
      $locationProvider.html5Mode(true);
      return $routeProvider.when("/", {
        controller: "WelcomeCtrl",
        templateUrl: "<%= asset_path('welcome/index.html') %>"
      }).otherwise({
        redirectTo: "/"
      });
    }
  ]);

  root.thisApp = thisApp;

}).call(this);

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
angular_scaffold-0.0.1 lib/generators/angular_scaffold/install/templates/routes.js.erb
angularjs_scaffold-0.0.24 lib/generators/angularjs/install/templates/routes.js.erb
angularjs_scaffold-0.0.23 lib/generators/angularjs/install/templates/routes.js.erb
angularjs_scaffold-0.0.22 lib/generators/angularjs/install/templates/routes.js.erb
explainer_angularjs_scaffold-0.0.23 lib/generators/angularjs/install/templates/routes.js.erb
explainer_angularjs_scaffold-0.0.22 lib/generators/angularjs/install/templates/routes.js.erb