<commit_before>angular-google-places-autocomplete
================

Angular directive for the Google Places Autocomplete component.

Installation
------------

Install via bower: `bower install angular-google-places-autocomplete`

Or if you're old skool, copy `src/autocomplete.js` into your project.

Then add the script to your page (be sure to include the Google Places API and underscore as well):

```html
<script src="https://maps.googleapis.com/maps/api/js?libraries=places"></script>
<script src="/bower_components/angular-google-places-autocomplete/src/autocomplete.js"></script>
```

You'll probably also want the styles:

```html
<link rel="stylesheet" href="/bower_components/angular-google-places-autocomplete/src/autocomplete.css">
```

Usage
-----

First add the dependency to your app:

```javascript
angular.module('myApp', ['google.places']);
```

Then you can use the directive on text inputs like so:

```html
<input type="text" g-places-autocomplete ng-model="myScopeVar" />
```

The directive also supports the following _optional_ attributes:

* forceSelection &mdash; forces the user to select from the dropdown. Defaults to `false`.
* options &mdash; See [google.maps.places.AutocompleteRequest object specification](https://developers.google.com/maps/documentation/javascript/reference#AutocompletionRequest).

Examples
--------

* [Basic](example/basic.html)
* [Options](example/options.html)
* [Force selection](example/force-selection.html)

Issues or feature requests
--------------------------

Create a ticket [here](https://github.com/kuhnza/angular-google-places-autocomplete/issues)

Contributing
------------

Issue a pull request including any relevent testing and updated any documentation if required.<commit_msg>Updated docs<commit_after>angular-google-maps
===================

Angular directive for the Google Places Autocomplete component.

Provides support for dynamic marker updates based on changes to the model.

Installation
------------

Install via bower: `bower install angular-g-maps`

Or if you're old skool, copy `src/google-maps.js` into your project.

Then add the script to your page (be sure to include the Google Maps API and underscore as well):

```html
<script src="https://maps.googleapis.com/maps/api/js"></script>
<script src="/bower_components/underscore/underscore.js"></script>
<script src="/bower_components/angular-google-maps/src/google-maps.js"></script>
```

Usage
-----

First add the dependency to your app:

```javascript
angular.module('myApp', ['google.maps']);
```

Then you can use the directive like so:

```html
<div g-map options="myMapOptions" markers="myMapMarkers" fit-to-markers="true"></div>
```

Examples
--------

* [Basic](example/basic.html)
* [Markers](example/markers.html)

Issues or feature requests
--------------------------

Create a ticket [here](https://github.com/kuhnza/angular-google-places-autocomplete/issues)

Contributing
------------

Issue a pull request including any relevent testing and updated any documentation if required.
{'fraction_non_alphanumeric': 0.16359447004608296, 'fraction_numerical': 0.0, 'mean_word_length': 4.303664921465969, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4275101', 'n_tokens_mistral': 897, 'n_tokens_neox': 835, 'n_words': 257}