# angular-select2
**Repository Path**: mirrors_rubenv/angular-select2
## Basic Information
- **Project Name**: angular-select2
- **Description**: Select2 directive for Angular.js
- **Primary Language**: Unknown
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-08-18
- **Last Updated**: 2026-01-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# angular-select2
> [select2](http://ivaynberg.github.io/select2/) bindings for Angular.JS
## Installation
Add angular-select2 to your project:
```
bower install --save angular-select2
```
Add it to your HTML file:
```html
```
Reference it as a dependency for your app module:
```js
angular.module('myApp', ['rt.select2']);
```
## Usage
Usage a similar to a normal select with `ngOptions`:
```html
```
*Note: using `ng-options` was supported until Angular 1.4 made this impossible. When upgrading to Angular.JS 1.4, be sure to replace all instances of `ng-options` to `s2-options`.*
In fact, you can replace any `