get permission data before angular app start by module config