q.when(value) --> promise
把一个普通值包装成promise
http://stackoverflow.com/questions/16770821/how-does-angular-q-when-work