angularjs template or not

when do we need to use template?

  • link to state or url?
  • use ng-view or ui-view

for market/store/prd etc. is template needed?

  • a very simple template?
  • homepage -> just load the content
  • markets -> load the content
  • stores -> load the content
  • products -> load the content
  • market -> with template, just pass the data; wo template, how to parse the data?

=> need dynamic routing

=> this works        => #2

=> use http cache to address the cache issue

This entry was posted in Design. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s