angularjs - google places auto complete not working on redirect -
i have 2 pages, main page , secondary. , in both pages have form auto complete integrated.
in main page after choose place(auto complete works here) , click submit button redirected secondary page, results displayed.
when use form in secondary page auto complete doesn't work. if reload page, works.
i have tried $route.reload
, $location.path($location.path())
etc, not helping. location.reload()
works, , data stored in services getting reset when use this.
Comments
Post a Comment