Created
December 12, 2012 10:13
-
-
Save keybits/4266591 to your computer and use it in GitHub Desktop.
Just a test Gist
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var converterApp = angular.module('converterApp', []) | |
.config(['$routeProvider', function($routeProvider) { | |
$routeProvider | |
.when('/', { | |
templateUrl: 'views/main.html', | |
controller: 'MainCtrl' | |
}) | |
.otherwise({ | |
redirectTo: '/' | |
}); | |
}]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment