Karnith / angular-revolution

directive for the Slider Revoluiton created by ThemePunch (http://www.themepunch.com/portfolio/slider-revolution-jquery-plugin/)
MIT License
14 stars 10 forks source link

change template to be dynamic #3

Open Karnith opened 8 years ago

Karnith commented 8 years ago

Template is currently static. Template needs to be revised so that it can be built by angular object with ng-repeat, etc..

jiferrero commented 8 years ago

Hi Matthew, I think that maybe would be interesting having the availability of changing some variables into the slides template through the scope system. This can complement the idea of making the whole dynamic template and getting it from a database, which I prefer. But imagine you have a template like your default that is shared by many pages, like a projects template or whatever. The only two things different are the main photo and a text. So maybe could be interesting having the template and changing those two variables.

Like: