Freader
Freader copied to clipboard
move templates into partials directory
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.
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 ;-)