Thank you. That makes sense.

On Monday, May 11, 2015 at 11:55:44 AM UTC-7, Gustavo Cruz wrote:
>
> Well, I think you self-answered your question: 
> Why are the partials not on the home page to make it one HTML page? 
>
> Imagine an application with 100 features. Then, put them all in one HTML 
> file. You have the biggest salad in the world.
>
> SPA concern is not about ONE HTML file. Is about a new user experience, 
> that usually uses the power of HTML5 with js frameworks, without refresh 
> the browser between actions and navigation.
>
> Separated partials/html's is about to structure your project in a 
> scalable, readable, object-oriented and clean architecture.
>
> On Mon, May 11, 2015 at 2:44 PM, Steve Husting <[email protected] 
> <javascript:>> wrote:
>
>> I understand that a SPA project is composed of a single HTML page. But 
>> when making an SPA with AngularJS, one may end up using few or many 
>> partials, which are all HTML pages. This confused me. Why are the partials 
>> not on the home page to make it one HTML page? 
>>
>> Pardon if the question is naive. I'm new at this. 
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "AngularJS" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> Visit this group at http://groups.google.com/group/angular.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to