update angularController and angularRouter to optimized generator