Not working with interpolateprovider
Hi, I'm trying to integrate into a project that uses laravel and angular. I change the interpolateprovider tags to <% %> as seen below.
let app = angular.module('adminApp', ['angularjs-dropdown-multiselect'],['$interpolateProvider', function($interpolateProvider) { $interpolateProvider.startSymbol('<%'); $interpolateProvider.endSymbol('%>'); }]);
after doing this, the directive no longer works. see this jsfiddle https://jsfiddle.net/0v9kc65o/
any thoughts?
Hey guy, you can overwritten settings with "extra-settings" use "template" option to do it. Something like this:
>>>>>>>>JS
$scope.yourExtraSettings = {template: '<% option %>'}
>>>>>>>>HTML
<div options="yourOptions" extra-settigns="yourExtraSettings" ng-dropdown-multiselect=""></div>
Hi, As suggested by you this is still not working by option $scope.yourExtraSettings = {template: '<% option %>'} in my case its always showing //template.settings/ at place of option display. my setings are
var app = angular.module("dataApp", ['ui.bootstrap','dialogs','ui.utils','datatables','ui.multiselect']).config(function($interpolateProvider) { $interpolateProvider.startSymbol('//').endSymbol('//'); });