dynamic navigation based on Constant in controler