twitter bootstrap - Angularjs 1.5 vs boostrap.js Compatibility -
i have compatibility problems angularjs 1.5 , boostrap.js.
i tried versions without success. created plunkr exemplify typeahead input doesn't work.
<input type="text" ng-model="selected" uib-typeahead="state state in states | filter:$viewvalue | limitto:8" class="form-control">
you need make 2 changes code:
- in script.js,
change
var scotchapp = angular.module('scotchapp', ['ngroute']);
to
var scotchapp = angular.module('scotchapp', ['ngroute', 'ui.bootstrap']);
- in home.html,
change
typeahead="state state in states...
to
uib-typeahead="state state in states...
Comments
Post a Comment