fix the checkout update issue about revert creator's wallet
    1. we should revert creator's old pay first
    2. then we can add current updated amount to his wallet again
Merge branch 'mia_dev' into dev
Merge branch 'mia_dev' into dev
update checkouts integ test. Minghe fixed checkouts/search and update issues.
since mia remove th index.htm to index.html, the welcome controller
should update to avoid the missing template issue.
Merge branch 'dev' of https://github.com/us4us/seed into dev
change the form name to email, since we only support email login now
add main.js to support dynamic update the post url according to user's
click on signin or signup
this is a start: focus on function only now instead of pretty
    done comes first
allow the cross domain request
since ajax request will replace the POST to OPTIONS, OPTION method add to route
should fix when deploy
enhance
Merge branch 'minghe_dev' of https://github.com/us4us/seed into minghe_dev
transfer to angular
Merge branch 'minghe_dev' of https://github.com/us4us/seed into minghe_dev
delete some unnec
first works, ):
restruct controller but routes not working
finished following staffs:
    1. every page have template
    2. every page have controller
following action need to finish today:
    1. the router is not working well, we have to put the index.html#
    into the URL
        eg. localhost:8000/app/index.hmtl#/user/checkouts
        to get the user/checkouts page
    2. the resource is not defined in service yet, all the datas are
    stored in controller, this's not good