Skip to content

Instantly share code, notes, and snippets.

@maxca
Last active October 20, 2016 10:26
Show Gist options
  • Save maxca/7d6f08def0b908d25edcd7676e5b3ca7 to your computer and use it in GitHub Desktop.
Save maxca/7d6f08def0b908d25edcd7676e5b3ca7 to your computer and use it in GitHub Desktop.
(function() {
"use strict";
var facebookAngularjs = angular.module('facebookAngularjs', [
'ngRoute',
'mainController',
'moduleConfig',
]);
facebookAngularjs.config(function($routeProvider) {
$routeProvider.when('/index', {
templateUrl: 'display.html',
controller: 'mainController'
}).otherwise({
redirectTo: '/index'
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment