0.0.1 • Published 7 years ago

angular-selectbox v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Angular Selectbox

A simple two way select box.

Installing

npm install angular-selectbox

Usage

angular.module("MyModule", ['selectbox'])
	.controller("MyCtrl", function($scope) {
		$scope.data = [{
			"title": "Example data" },	
		{
			"title": "Another Example" }];
		$scope.selectedData = [$scope.data[0]];
	 } );

HTML

<selectbox model-data="data" model="selectedData" field="'title'"></selectbox>

Looks better with:

bootstrap