$http is asynchronous. Use promose.

Partials: basic-info and controller have been checked in.
Be very careful with $http service since it's asynchronous. Use ehither
of these: 1. promise; 2. event; 3. $watch.

Signed-off-by: Min Chen <minchnew@gmail.com>