angular-selectbox

0.0.1 • Public • Published

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i angular-selectbox

      Weekly Downloads

      1

      Version

      0.0.1

      License

      MIT

      Last publish

      Collaborators

      • infinitet3ch