Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to customize the output template #57

Closed
ardiansyaherwin opened this issue Jul 12, 2015 · 2 comments
Closed

Unable to customize the output template #57

ardiansyaherwin opened this issue Jul 12, 2015 · 2 comments

Comments

@ardiansyaherwin
Copy link

Hello,

is there any additional files or folders that need to be created when customizing the output template?

I've put the the following code on my controller:
app.run(function ($templateCache) {
$templateCache.put('ngDropdowns/templates/dropdownSelect.html', [
'

',
'{{dropdownModel[labelField]}}',
'
    ',
    '<li ng-repeat="item in dropdownSelect"',
    ' class="dropdown-item"',
    ' dropdown-select-item="item"',
    ' dropdown-item-label="labelField">',
    '',
    '
',
'
'
].join(''));
});

and put the following code on my homepage.html:
div ng-controller="homeController" hide-gt-sm show-sm>

Cari Penyedia Jasa

/div

but it's still not working, am I missing something else?

@jseppi
Copy link
Owner

jseppi commented Jul 20, 2015

How is it not working? Can you provide an example of your problem on jsfiddle.net?

Here is an example showing that it does work: https://jsfiddle.net/6fohedhr/

When opening issues like this, being clear in how things are not working is very important.

@jseppi
Copy link
Owner

jseppi commented Dec 14, 2015

Closing due to inactivity.

@jseppi jseppi closed this as completed Dec 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants