Last active
October 20, 2016 10:26
-
-
Save maxca/7d6f08def0b908d25edcd7676e5b3ca7 to your computer and use it in GitHub Desktop.
This file contains 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
(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