retrieve data in ui-router resolve

Signed-off-by: Connie <cleung334@gmail.com>
use single controller to retrieve data.