$location gives url information in current browser address bar. if open new window using var popup = $window.open(url)
, can new window's url in popup.location.href
, how can construct $location service that?
i'd use functions $location.search() rather parse parameters myself.
Comments
Post a Comment