all imlementations using AngularJS all imlementations of Classy dropdown

a ng-value implementation
of the Classy dropdown demo using AngularJS



import angular from 'angular'

angular.module('dropdownapp', [])

require('./dropdown')

The same file in a ng-options implementation using AngularJS (1.5.8):

import angular from 'angular'

angular.module('dropdownapp', [])

require('./dropdown')

The same file in a vanilla implementation using Angular (2.4.9):

import 'zone.js';
import 'reflect-metadata';

import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { FormsModule } from '@angular/forms';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';

import { Dropdown } from './dropdown';

@NgModule({
    imports: [ BrowserModule, FormsModule ],
    declarations: [ Dropdown ],
    bootstrap: [ Dropdown ]
})
class AppModule {}

platformBrowserDynamic().bootstrapModule(AppModule);

The same file in an es6 implementation using Cyclow (0.5.0):

import {run} from 'cyclow'
import Dropdown from './dropdown'

run(Dropdown, {target: 'app'})