port();
This method is getter only.
Return port of current url.
// given url http://example.com/#/some/path?foo=bar&baz=xoxo var port = $location.port(); // => 80
Returns
Number |
port |
This method is getter only.
Return port of current url.
// given url http://example.com/#/some/path?foo=bar&baz=xoxo var port = $location.port(); // => 80
Number |
port |
Please login to continue.