Angular autocomplete directive with materialize styles
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
dest
dev
.gitignore
README.md
bower.json
gulpfile.js
lite-server.config.json
package.json

README.md

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>