fix bug for route angular.js