Added config angularJS module plus fixed locale init bug fix