mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-09 15:13:20 +08:00
getUrl()
This commit is contained in:
@@ -201,6 +201,10 @@
|
||||
}
|
||||
};
|
||||
|
||||
$scope.getUrl = function() {
|
||||
return $location.absUrl().replace(/#.*$/, '');
|
||||
};
|
||||
|
||||
$scope.setDataFromHash = function() {
|
||||
var hashData = $location.search();
|
||||
|
||||
|
Reference in New Issue
Block a user