Skip to content

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