trouting.js - cosmo - front and backend for Markov-Chain Monte Carlo inversion of cosmogenic nuclide concentrations
 (HTM) git clone git://src.adamsgaard.dk/cosmo
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
       trouting.js (1022B)
       ---
            1 // routing.js
            2 
            3 // crete the module and name it cosmoApp, include ngRoute for routing needs
            4 var cosmoApp = angular.module('cosmoApp', ['ngRoute']);
            5 
            6 cosmoApp.config(function($routeProvider) {
            7     $routeProvider
            8         .when('/', {
            9             templateUrl : 'pages/front.html'
           10         })
           11         .when('/methods', {
           12             templateUrl : 'pages/methods.html'
           13         })
           14         .when('/about', {
           15             templateUrl : 'pages/about.html'
           16         })
           17         .when('/help', {
           18             templateUrl : 'pages/help.html'
           19         })
           20         .when('/history', {
           21             templateUrl : 'pages/history.html'
           22         })
           23         .when('/history2', {
           24             templateUrl : 'pages/history2.html'
           25         })
           26         .when('/exposure-age', {
           27             templateUrl : 'pages/exposure-age.html'
           28         })
           29         .when('/erosion-rate', {
           30             templateUrl : 'pages/erosion-rate.html'
           31         });
           32 });
           33 
           34 
           35 // create the controller and inject Angular's $scope
           36 cosmoApp.controller('mainController', function($scope) { });