migrate to angular 1.2.4 and fix ngRoute issue