0

I picked the code from the angular bootstrap type-ahead folder and tweaked it to include the library dependencies.

type-ahead

When I launch the html, the model seems to be correctly bound but the typeahead suggestions are not showing up as it is in the documentation.

I seem to be missing something.

My Code here.

Thanks! Sam

Prafulla Kumar Sahu
  • 9,321
  • 11
  • 68
  • 105
smaira
  • 307
  • 4
  • 19

1 Answers1

1

Look at this plnker. It works with the same details.

Plnkr

Jayram
  • 18,820
  • 6
  • 51
  • 68
  • Thanks Jayram, Yes it works. I noticed that in your example.js you have this line on top : angular.module('plunker', ['ui.bootstrap']); Is that really required? – smaira Mar 20 '14 at 07:26
  • Yeah. It is required to pass the dependency to the function in angularjs for accessing the angular ui functionality. – Jayram Mar 20 '14 at 08:00