15 lines
333 B
JavaScript
Executable File
15 lines
333 B
JavaScript
Executable File
window.bootstrap = function() {
|
|
angular.bootstrap(document, ['mean']);
|
|
};
|
|
|
|
window.init = function() {
|
|
window.bootstrap();
|
|
};
|
|
|
|
angular.element(document).ready(function() {
|
|
//Fixing facebook bug with redirect
|
|
if (window.location.hash == "#_=_") window.location.hash = "";
|
|
|
|
//Then init the app
|
|
window.init();
|
|
}); |