1//saddr = blank input field for entering START address
2//daddr = hard-coded END address
3//Enter an address and press button and a popup window opens with directions.
4//Enter no address, and just a map of the END address opens.
5//in angular add ngNoForm attribute in form tag and method as GET
6
7<form action="http://maps.google.com/maps" method="get" target="_blank">
8 <label for="saddr">Enter your location</label>
9 <input type="text" name="saddr" />
10 <input type="hidden" name="daddr" value="350 5th Ave New York, NY 10018 (Empire State Building)" />
11 <input type="submit" value="Get directions" />
12</form>