Skip to content

move templates into partials directory #6

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

idflood
Copy link

@idflood idflood commented Jul 2, 2013

Hi,

Your project looks promising : ) I always do backbonejs projects but wanted to play with angularjs. With backbone I like the idea to 'lazy load' template files with requirejs so I wanted to see if something like this was possible with angular. Eventually it has builtin support for this so this was really easy.

@geekuillaume
Copy link
Owner

Hi,
I started to do the application that way (with the two views in a specific folder). But this organization implies one XHR request for each page. It more optimized to put them into a script tag and to retrieve the text with a call to the DOM at startup.
Some projects like Grunt allow to compile every template into the index.html. I'm looking into it right now to adapt Freader to this organisation ;-)

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

Successfully merging this pull request may close these issues.

2 participants