Sha256: 9ab0678b97880d536bf1dfd34c38e8dc6719ec12eea2f1471e39401cc45d8efc

Contents?: true

Size: 431 Bytes

Versions: 5

Compression:

Stored size: 431 Bytes

Contents

root = global ? window
angular = root.angular

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

root.thisApp = thisApp

Version data entries

5 entries across 5 versions & 2 rubygems

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