Skip to content

vladbash/angular-autocomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular-autocomplete

#Demo

[http://vladb95.github.io/angular-autocomplete/]

Installation

$ bower install angular-materialize-autocomplete

Dependencies

Using

###script.js

angular.module('demoApp', ['auto-complete'])
       .controller('demoCtrl', demoController);

demoController.$inject=['$scope'];
function demoController($scope){
  $scope.input = '';
	$scope.data = ["john", "bill", "charlie", "robert", "alban",
  "oscar", "marie", "celine", "brad", "drew", "rebecca",
   "michel", "francis", "jean", "paul", "pierre", "nicolas", "alfred"];
  $scope.color = '#00BCD4';
}

###index.html

<auto-complete-input auto-data="data" ac-title="'Choose employee'" color="color" ng-model="input"></auto-complete-input>

About

Angular autocomplete directive with materialize styles

Resources

Stars

Watchers

Forks

Packages

No packages published