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

in the index.html why angular-photoswipe.min.js changed to angular-photoswipe.js no working? #16

Closed
tangtao007 opened this issue Jun 17, 2016 · 4 comments

Comments

@tangtao007
Copy link

No description provided.

@m00s
Copy link
Owner

m00s commented Jun 17, 2016

@happytoTom because of #11. The template is not cached in the un-minified source. You can quickly adjust the link in the source if you need to develop and test your changes.

Closing this, if you need to discuss more comment the original issue, thanks.

@m00s m00s closed this as completed Jun 17, 2016
@tangtao007
Copy link
Author

sorry i don't understand i change the code like this but is not working.
var defaults = {
baseClass: 'ng-gallery',
thumbClass: 'ng-thumb',
templateUrl: 'lib/ngGallery/src/html/ng-growth-view.html'
};
return {
restrict: 'AE',
replace: true,
scope: {
open: '=',
options: '=',
slides: '=',
slideSelector: '@',
template: '@',
onClose: '&',
extensions: '=?',
type: '='
},
templateUrl: function (element, attrs) {
return defaults.templateUrl;
},

@tangtao007
Copy link
Author

I solved the problem.
thanks...

@m00s
Copy link
Owner

m00s commented Nov 21, 2016

Hi @happytoTom, could you please post here how you solved? So that others can find out in the future.. Thanks!

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