This commit is contained in:
wlh
2014-12-11 14:52:59 +08:00
parent 5a47ae589d
commit 038266a3c5
+6 -1
View File
@@ -1,5 +1,10 @@
var app = angular.module('app', ['ui.router']);
setTimeout(function(){ window.scrollTo(0, 1); }, 100);
addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){
window.scrollTo(0,1);
}
/*$rootScope的相关配置*/
app.run(function($rootScope){
$rootScope.version = '0.1';