Sha256: b56eee1227a7428498c5e37c348cba58e0a2640390c40604f365d97977fd99dd

Contents?: true

Size: 524 Bytes

Versions: 1

Compression:

Stored size: 524 Bytes

Contents

(function() {
  var angular, root, thisApp;

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

  angular = root.angular;

  thisApp = angular.module("Client", ["ngCookies"]).config(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

1 entries across 1 versions & 1 rubygems

Version Path
explainer_angularjs_scaffold-0.0.21 lib/generators/angularjs/install/templates/routes.js.erb