[angular] fixed bug for deployment