Closed shreysaroch closed 7 years ago
Just type console.log('something'); in your controller and see how many times it get printed in console.
Thanks @shreycp , which controller?
I've resolved the issue, as your ui-view is called twice because of layout.tpl.html. Try to route mobile view through some other file, by calculating screen size.
Just type console.log('something'); in your controller and see how many times it get printed in console.