Skip to content

Instantly share code, notes, and snippets.

@keybits
Created December 12, 2012 10:13
Show Gist options
  • Save keybits/4266591 to your computer and use it in GitHub Desktop.
Save keybits/4266591 to your computer and use it in GitHub Desktop.
Just a test Gist
'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