0
我想要用的自举式的输入功能的下拉自举下拉和angular.js我怎么能整合与angular.js
http://egemem.com/theme/kode/v1.1/form-elements.html
然而,它没有工作即使我试图用指令来避免使用jQuery
冲突的我怎么能整合jQuery的功能与angular.js
HTML
{ “路线”: “路线”}
JS
app.directive('customepicker
customepicker',function(){
return {
restrict: 'CE',
replace: true,
template: '<select class="selectpicker" data-live-search="true" style="display: none;"> <option ng-repeat=" (departure, destinations) in routes">{{departure}}</option></select>',
};
});
看来Angular不能很好地与流行的第三方js插件集成,比如bootstrap,jqeury,backbone。 gotcha ~~~谢谢 – user3675188