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
user the $location to implement the page auto goto
add a example service
add following api
    1. user/groups
    2. user/checkout
    3. group/users
    4. group/checkouts
finish testing on
    1. user/groups
    2. user/checkouts
start the testing on the following api
    1. group/users
    2. group/checkouts
but not done yet, hope hongbing can help on this since a lot things have
to on our Web Site fron end
finish the first version of Services of our Angular
add new idea but not implement it yet
add karma testing configure and setup karma testing example
    1. npm install -g karma, then should add karma to our PATH
    2. edit the karma configure
    3. karma start
    4. karma run
test the service and everything seem working